You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
423 B
14 lines
423 B
var fly = require('../utils/request')
|
|
export function login(data) {
|
|
return fly.post(`/bysmp/user/loginByWxCode`,data)
|
|
}
|
|
export function bindPhone(code) {
|
|
return fly.put(`/bysmp/user/bindPhone?code=${code}`)
|
|
}
|
|
export function bindIdCard(query) {
|
|
return fly.put(`/bysmp/user/bindIdCard?name=${query.name}&idCard=${query.idCard}`,)
|
|
}
|
|
export function getUserInfo() {
|
|
return fly.get(`/bysmp/user/wxUserInfo`)
|
|
}
|
|
|
|
|