Commit 669def92 authored by 强海明's avatar 强海明

Merge branch 'jiang_fix_20210902' into 'master'

update:删除频率锁

See merge request bp/goods!30
parents 5d9eba2c e1de7af2
......@@ -33,14 +33,6 @@ class UserService
throw new UserException(['cus' => 0]);
}
//频率锁
$key = "wx_wechat_login".$params['code'];
$lock = FrequencyLockUtil::isLocked($key);
if ($lock) {
FileLog::error("wechatLogin:请求频繁", json_encode($params, JSON_UNESCAPED_UNICODE),'','jianghaiming@yidian-inc.com');
throw new UserException(['cus' => 13]);
}
//需要授权微信
//if (empty($openid)) {
$appid = \Yaf\Registry::get('config')->wechat->appid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment