更新协议
This commit is contained in:
parent
005b168c37
commit
adca4faabf
@ -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错误');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user