[盘债计算器]
This commit is contained in:
29
apis/interfaces/authUrl.js
Normal file
29
apis/interfaces/authUrl.js
Normal file
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* 手太欠
|
||||
* 愿这世界都如故事里一样 美好而动人~
|
||||
*/
|
||||
|
||||
import { request } from '../index'
|
||||
|
||||
// 微信授权登录(获取跳转地址)
|
||||
const authFollow = (data) => {
|
||||
return request({
|
||||
url : 'user/auth/official/url',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 微信登录(传入code)
|
||||
const wechatCode = (data) => {
|
||||
return request({
|
||||
url : 'user/auth/official/openid',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
authFollow,
|
||||
wechatCode
|
||||
}
|
||||
Reference in New Issue
Block a user