gree_leran/comm/api.js

17 lines
232 B
JavaScript

import {http} from "../utils/http.js"
export function loginByCode(data){
return http({
url:"/api/wxLogin",
data,
method:'post'
})
}
export function userInfo(){
return http({
url:"/api/getUserInfo",
method:'get'
})
}