Jelajahi Sumber

注册问题枚举

lizhen_gitee 1 tahun lalu
induk
melakukan
a7dc5b7e03
1 mengubah file dengan 13 tambahan dan 0 penghapusan
  1. 13 0
      application/api/controller/User.php

+ 13 - 0
application/api/controller/User.php

@@ -176,6 +176,19 @@ class User extends Api
         }
         }
     }
     }
 
 
+    //注册配置,怎么知道我们
+    public function register_config(){
+        $rs = [
+            'Facebook',
+            'Instagram',
+            'Family and Friends',
+            'Googld',
+            'Whatsapp',
+            'Others',
+        ];
+        $this->success(1,$rs);
+    }
+
     /**
     /**
      * 退出登录
      * 退出登录
      * @ApiMethod (POST)
      * @ApiMethod (POST)