|
@@ -890,7 +890,7 @@ class Usercenter extends Api
|
|
|
//开通守护
|
|
|
public function addguard() {
|
|
|
// 接口防并发
|
|
|
- if (!$this->apiLimit(1, 1000)) {
|
|
|
+ if (!$this->apiLimit(1, 1)) {
|
|
|
$this->error(__('Operation frequently'));
|
|
|
}
|
|
|
|
|
@@ -1952,7 +1952,7 @@ $resArray['money'] = $money; //返回给前端的计算结果
|
|
|
//男性非会员解锁聊天
|
|
|
public function unlockchat() {
|
|
|
// 接口防并发
|
|
|
- if (!$this->apiLimit(1, 1000)) {
|
|
|
+ if (!$this->apiLimit(1, 1)) {
|
|
|
$this->error(__('Operation frequently'));
|
|
|
}
|
|
|
//男性非会员是否已开通聊天
|