qifengquan 1 year ago
parent
commit
3d53209a2b
2 changed files with 358 additions and 206 deletions
  1. 10 0
      application/api/controller/Index.php
  2. 348 206
      public/api.html

+ 10 - 0
application/api/controller/Index.php

@@ -377,4 +377,14 @@ class Index extends Api
             Shield::where('id',input('id'))->delete()?$this->success('解除成功'):$this->error('解除失败');
         }
     }
+
+    /**
+     * 申请认识你弹窗
+     * @ApiReturnParams (name='count',description='会员个数')
+     */
+    public function applyList(){
+        $data = Apply::all(['nid'=>$this->auth->id,'n_is_read'=>0],['uidinfo']);
+        $count = count($data);
+        $this->success('',['data'=>$count,'count'=>$count]);
+    }
 }

File diff suppressed because it is too large
+ 348 - 206
public/api.html


Some files were not shown because too many files changed in this diff