liyinglin 3 years ago
parent 5c932a0448
commit 42181ad134

@ -277,6 +277,9 @@ class VisitController extends CommonController
* @OA\Parameter(name="ask", in="query", @OA\Schema(type="string"), required=true, description="问题json"),
* @OA\Parameter(name="expire_day", in="query", @OA\Schema(type="string"), required=true, description="有效天数"),
* @OA\Parameter(name="type", in="query", @OA\Schema(type="string"), required=true, description="类型 init型"),
* @OA\Parameter(name="name", in="query", @OA\Schema(type="string"), required=true, description="名字"),
* @OA\Parameter(name="idcard", in="query", @OA\Schema(type="string"), required=true, description="身份证"),
* @OA\Parameter(name="mobile", in="query", @OA\Schema(type="string"), required=true, description="手机号"),
* @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"),
* @OA\Response(
* response="200",

@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('study_logs', function (Blueprint $table) {
$table->string('name')->comment('姓名')->nullable();
$table->string('mobile')->comment('手机号')->nullable();
$table->string('idcard')->comment('身份证号')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('study_logs', function (Blueprint $table) {
//
});
}
};
Loading…
Cancel
Save