gree_leran/comm/api.js

17 lines
232 B
JavaScript
Raw Normal View History

2024-06-16 01:04:56 +00:00
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'
})
}