diff --git a/app/Http/Controllers/Mobile/SupplyDemandController.php b/app/Http/Controllers/Mobile/SupplyDemandController.php index 66dc7ce..797bbfd 100755 --- a/app/Http/Controllers/Mobile/SupplyDemandController.php +++ b/app/Http/Controllers/Mobile/SupplyDemandController.php @@ -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="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="tags", in="query", @OA\Schema(type="integer"), required=false, description="标签,多个英文逗号分隔"), * @OA\Response( * response="200", * description="暂无" diff --git a/app/Repositories/YuanheRepository.php b/app/Repositories/YuanheRepository.php index a2ee1e5..8313255 100755 --- a/app/Repositories/YuanheRepository.php +++ b/app/Repositories/YuanheRepository.php @@ -18,10 +18,9 @@ class YuanheRepository public function __construct() { - // 测试地址 - $this->baseUrl = 'https://uat.oriza.com'; - $this->customerId = '1947941625517604864'; - $this->authKey = '59C8ED8584EE4BA7BC22FC63BE45C73D'; + $this->baseUrl = env('YUANHE_BASE_URL'); + $this->customerId = env('YUANHE_CUSTOMERID'); + $this->authKey = env('YUANHE_AUTHKEY'); } diff --git a/database/migrations/2025_09_26_112046_alert_supply_demands_table.php b/database/migrations/2025_09_26_112046_alert_supply_demands_table.php new file mode 100644 index 0000000..315be2a --- /dev/null +++ b/database/migrations/2025_09_26_112046_alert_supply_demands_table.php @@ -0,0 +1,33 @@ +string('tags')->nullable()->comment('标签'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('supply_demands', function (Blueprint $table) { + // + }); + } +};