refactor(app): 优化邮件模板

master
cody 4 weeks ago
parent 314b0a54ab
commit cd549b5f0e

@ -136,6 +136,7 @@ class SupplyDemandController extends CommonController
* @OA\Parameter(name="file_ids", in="query", @OA\Schema(type="string"), required=false, description="文件id数组"), * @OA\Parameter(name="file_ids", in="query", @OA\Schema(type="string"), required=false, description="文件id数组"),
* @OA\Parameter(name="contact_name", in="query", @OA\Schema(type="string"), required=false, description="联系人名字"), * @OA\Parameter(name="contact_name", in="query", @OA\Schema(type="string"), required=false, description="联系人名字"),
* @OA\Parameter(name="status", in="query", @OA\Schema(type="integer"), required=false, description="状态0待审核1通过2拒绝3退回修改4永久隐藏"), * @OA\Parameter(name="status", in="query", @OA\Schema(type="integer"), required=false, description="状态0待审核1通过2拒绝3退回修改4永久隐藏"),
* @OA\Parameter(name="tags", in="query", @OA\Schema(type="integer"), required=false, description="标签,多个英文逗号分隔"),
* @OA\Response( * @OA\Response(
* response="200", * response="200",
* description="暂无" * description="暂无"

@ -18,10 +18,9 @@ class YuanheRepository
public function __construct() public function __construct()
{ {
// 测试地址 $this->baseUrl = env('YUANHE_BASE_URL');
$this->baseUrl = 'https://uat.oriza.com'; $this->customerId = env('YUANHE_CUSTOMERID');
$this->customerId = '1947941625517604864'; $this->authKey = env('YUANHE_AUTHKEY');
$this->authKey = '59C8ED8584EE4BA7BC22FC63BE45C73D';
} }

@ -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('supply_demands', function (Blueprint $table) {
// 标签
$table->string('tags')->nullable()->comment('标签');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('supply_demands', function (Blueprint $table) {
//
});
}
};
Loading…
Cancel
Save