第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

如何在成功插入數(shù)據(jù)后使用 API 向號碼發(fā)送短信并將其重定向到我的網(wǎng)站頁面

如何在成功插入數(shù)據(jù)后使用 API 向號碼發(fā)送短信并將其重定向到我的網(wǎng)站頁面

PHP
慕俠2389804 2023-03-11 14:10:41
我試圖在 laraval 5.8 中使用 php artisan migrate 命令更改我的 char 類型列默認(rèn)值,但出現(xiàn)以下錯誤:Unknown column type "char" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database introspection then you might have forgotten to register all database types for a Doctrine Type. Use AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement Type#getMappedDatabaseTypes(). If the type name is empty you might have a problem with the cache or forgot some mapping information.我當(dāng)前的腳本如下:use Illuminate\Support\Facades\Schema;use Illuminate\Database\Schema\Blueprint;use Illuminate\Database\Migrations\Migration;class AddTypeDeafultValueProjectsTable extends Migration{/** * Run the migrations. * * @return void */public function up(){    Schema::table('projects', function (Blueprint $table) {        $table->char('type', 50)->nullable(true)->change();    });}/** * Reverse the migrations. * * @return void */public function down(){    Schema::table('projects', function (Blueprint $table) {        //    });}}我沒有遇到其他數(shù)據(jù)類型列的問題,但僅針對 char 出現(xiàn)上述錯誤??梢詭臀医鉀Q這個問題嗎?
查看完整描述

1 回答

?
慕仙森

TA貢獻(xiàn)1827條經(jīng)驗(yàn) 獲得超8個贊

$message = rawurlencode('This is your message');

// Prepare data for POST request

$data = "futherurldata";

// Send the GET request with cURL

 $ch = curl_init('http://login.xyz.com/api/mt/SendSMS?' . $data);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);

curl_close($ch);

// Process your response here

echo $response;


查看完整回答
反對 回復(fù) 2023-03-11
  • 1 回答
  • 0 關(guān)注
  • 112 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號