更新获取申请协议

This commit is contained in:
yaooo 2023-09-22 09:33:21 +08:00
parent 1a20217b51
commit cab3b27a6c

View File

@ -104,7 +104,7 @@ class MerchantIntention extends BaseController
public function agreeApply() public function agreeApply()
{ {
$typeId = $this->request->params('mer_type_id'); $typeId = $this->request->get('mer_type_id', 0);
$typeCode = Db::name('merchant_type')->where('mer_type_id', $typeId)->value('type_code', ''); $typeCode = Db::name('merchant_type')->where('mer_type_id', $typeId)->value('type_code', '');
$repository = app()->make(CacheRepository::class); $repository = app()->make(CacheRepository::class);
$agreeData[] = $repository->getResult('consign_product_agree'); $agreeData[] = $repository->getResult('consign_product_agree');