Commit 55be1fd3 authored by jianghaiming's avatar jianghaiming

Merge branch 'master' of https://gitlab.yidian-inc.com/bp/goods

parents 308f74e5 669def92
......@@ -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