diff --git a/app/Http/Controllers/Mobile/VisitController.php b/app/Http/Controllers/Mobile/VisitController.php index 7cce3da..fc94ea7 100644 --- a/app/Http/Controllers/Mobile/VisitController.php +++ b/app/Http/Controllers/Mobile/VisitController.php @@ -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", diff --git a/database/migrations/2023_09_25_140859_alert_study_logs_table.php b/database/migrations/2023_09_25_140859_alert_study_logs_table.php new file mode 100644 index 0000000..933cbda --- /dev/null +++ b/database/migrations/2023_09_25_140859_alert_study_logs_table.php @@ -0,0 +1,33 @@ +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) { + // + }); + } +};