15954078560 hace 2 años
padre
commit
2276c36cea
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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('参数错误');
         }