|
@@ -84,7 +84,7 @@ class Gift extends Api
|
|
|
|
|
|
public function givegift_typing() {
|
|
public function givegift_typing() {
|
|
|
|
|
|
- if (!$this->apiLimit(1, 1000)) {
|
|
+ if (!$this->apiLimit(1, 1)) {
|
|
$this->error(__('Operation frequently'));
|
|
$this->error(__('Operation frequently'));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -245,7 +245,7 @@ class Gift extends Api
|
|
public function givechatgift() {
|
|
public function givechatgift() {
|
|
exit;
|
|
exit;
|
|
|
|
|
|
- if (!$this->apiLimit(1, 1000)) {
|
|
+ if (!$this->apiLimit(1, 1)) {
|
|
$this->error(__('Operation frequently'));
|
|
$this->error(__('Operation frequently'));
|
|
}
|
|
}
|
|
|
|
|