|
@@ -40,7 +40,7 @@ class User extends Api
|
|
|
$this->error(__('Mobile is incorrect'));
|
|
|
}
|
|
|
|
|
|
- if(!$this->apiLimit(60,1,'60_'.$mobile)){
|
|
|
+ if(!$this->apiLimit(60,3,'60_'.$mobile)){
|
|
|
$this->error('您的手机号登录频繁,请一分钟后再试');
|
|
|
};
|
|
|
if(!$this->apiLimit(3600,10,'3600_'.$mobile)){
|
|
@@ -137,7 +137,6 @@ class User extends Api
|
|
|
* 微信内H5-JSAPI支付
|
|
|
*/
|
|
|
public function jssdkBuildConfig() {
|
|
|
- $this->error('获取失败');
|
|
|
$url = $this->request->request("url");
|
|
|
$wechat = new \app\common\library\Wechatshare;
|
|
|
$sign = $wechat->getSignPackage(urldecode($url));
|