|
@@ -307,6 +307,7 @@ class Usercenter extends Api
|
|
|
|
|
|
//开通守护
|
|
|
public function addguard() {
|
|
|
+ exit;
|
|
|
// 接口防并发
|
|
|
if (!$this->apiLimit(1, 1)) {
|
|
|
$this->error(__('Operation frequently'));
|
|
@@ -412,6 +413,7 @@ class Usercenter extends Api
|
|
|
|
|
|
//守护列表
|
|
|
public function guardlist(){
|
|
|
+ exit;
|
|
|
$user_id = input('user_id', 0, 'intval');
|
|
|
if (!$user_id) {
|
|
|
$this->error('您的网络开小差啦~');
|
|
@@ -440,6 +442,7 @@ class Usercenter extends Api
|
|
|
|
|
|
//我的守护
|
|
|
public function myguardlist(){
|
|
|
+ exit;
|
|
|
$type = input('type', 0, 'intval'); //类型: 1我守护的 2守护我的
|
|
|
if (!in_array($type, [1, 2])) {
|
|
|
$this->error('您的网络开小差了');
|