登录
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import net from './request.js';
|
||||
|
||||
// import store from '../store';
|
||||
|
||||
const API = {
|
||||
//微信登录
|
||||
getToken: data => net.POST('/login/token',data), // 获取token
|
||||
wx_login: (data,userId) => net.POST('/user/binding/wechat',data,true,{"userId":userId}), // 微信登录
|
||||
/*
|
||||
首页信息
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user