Browse Source

段位介绍

15954078560 2 years ago
parent
commit
2276c36cea
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/api/controller/User.php

+ 2 - 2
application/api/controller/User.php

@@ -1118,11 +1118,11 @@ class User extends Api
         $this->success('个人账单明细', $data);
     }
 
-    //关于我们/免责协议/用户协议/隐私政策
+    //关于我们/免责协议/用户协议/隐私政策/段位介绍
     public function getagreement()
     {
         $type = input('type', 0, 'intval');
-        if (!in_array($type, [1, 2, 3, 4])) {
+        if (!in_array($type, [1, 2, 3, 4, 5])) {
             $this->error('参数错误');
         }