添加 github oAuth 认证,添加错误提醒

This commit is contained in:
yifeng.yl
2019-05-29 18:46:12 +08:00
parent 9e7cd804e5
commit dbcdbab7d2
13 changed files with 197 additions and 67 deletions

View File

@ -1,10 +1,14 @@
class Api{
// static const String BASE_URL = 'http://127.0.0.1:6001/';
static const String BASE_URL = 'http://flutter-go.alibaba.net/';
static const String BASE_URL = 'http://30.10.29.190:6001/';
// static const String BASE_URL = 'http://flutter-go.alibaba.net/';
static const String DO_LOGIN = BASE_URL+'doLogin';//登陆
static const String CHECK_LOGIN = BASE_URL+'checkLogin';//验证登陆
static const String LOGOUT = BASE_URL+'logout';//退出登陆
static const String GET_USER_INFO = BASE_URL+'getUserInfo';//获取用户信息
static const String RedirectIp = 'http://100.81.211.172/';
}