更新协议

This commit is contained in:
yaooo 2023-09-21 20:46:29 +08:00
parent 005b168c37
commit adca4faabf

View File

@ -1401,8 +1401,10 @@ class Auth extends BaseController
{
$repository = app()->make(CacheRepository::class);
//sys_intention_agree business_apply_agree
//mer_services_agree mer_supply_agree
//consign_product_agree mer_settlement_agree
$type = $this->request->get('type', 'sys_intention_agree');
$typeArray = ['sys_intention_agree', 'business_apply_agree'];
$typeArray = ['sys_intention_agree', 'business_apply_agree', 'mer_services_agree', 'mer_supply_agree', 'consign_product_agree', 'mer_settlement_agree'];
if (!in_array($type, $typeArray)) {
return app('json')->fail('协议key错误');
}