| | |
| | | }); |
| | | |
| | | |
| | | let temLogin = (params, config = {}) => http.get('/api/LogoIn/LogoinFast', params, { |
| | | let temLogin = (params, config = {}) => http.get(`/api/LogoIn/LogoinFast?jscode=${params}`, params,{ |
| | | custom: { |
| | | methodName: 'LogoinFast', |
| | | needToken: true |
| | | needToken: false |
| | | } |
| | | }); |
| | | |
| | | let CreateUser = (params, config = {}) => http.post(`/api/LogoIn/CreateUser`, params, { |
| | | custom: { |
| | | methodName: 'CreateUser', |
| | | needToken: false |
| | | } |
| | | }); |
| | | |
| | | // 将各个定义的接口名称,统一放进对象挂载到vm.$u.api(因为vm就是this,也即this.$u.api)下 |
| | | export { |
| | | temLogin, //登录 |
| | | |
| | | CreateUser, //注册并登录 |
| | | }; |
| | | // } |
| | | |