1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- /**
- * Created by zack on 2018/5/8.
- */
-
- const BaseUrl = 'http://api.links123.net'
- const auth = 'auth'
-
- const question = 'question'
-
- const comment = 'comment'
-
- const imgText = '/forum/v1/img_txt'
-
- const login = '/uc/v2/user/account/login'
- const signUpByEmail = '/uc/v2/user/email/register'
- const signUpByPhone = '/uc/v2/user/mobile/register'
- const userSmsCode = '/uc/v2/user/sms/code'
- const userEmailCode = '/uc/v2/user/email/code'
- const userSmsCodeLogin = '/uc/v2/user/sms/code/login'
- const getUserProfile = '/uc/v2/user/profile'
- const userProfile = '/uc/v2/user/profile'
- const userAvatar = '/uc/v2/user/avatar'
- const userEmail = '/uc/v2/user/email'
- const userMobile = '/uc/v2/user/mobile'
- const userLogout = '/uc/v2/user/logout'
- const userPassword = '/uc/v2/user/password'
-
- //聊天服务开发环境
- const chatDevServer='121.41.20.11'
- const chatDevPort='2015'
- const chatProServer = ''
- const chatProPort =''
-
- const chatServer = __DEV__?chatDevServer:chatProServer
- const chatPort =__DEV__?chatDevPort:chatProPort
-
-
- export {
- BaseUrl,
- auth,
-
- question,
-
- comment,
-
- imgText,
- login,
- signUpByEmail,
- signUpByPhone,
- userSmsCode,
- userEmailCode,
- userSmsCodeLogin,
- getUserProfile,
- userProfile,
- userAvatar,
- userEmail,
- userMobile,
- userLogout,
- userPassword,
- chatServer,
- chatPort,
- }
|