|
@@ -6,7 +6,7 @@ import request from '@/apis/utils/requestWhite'
|
|
|
export function getDataByCode(code) {
|
|
|
return request({
|
|
|
url: '/wechat/findUserInfo/' + code,
|
|
|
- params: {},
|
|
|
+ data: {},
|
|
|
method: 'get',
|
|
|
})
|
|
|
}
|
|
@@ -15,7 +15,7 @@ export function getDataByCode(code) {
|
|
|
export function findAppletUserInfo(code) {
|
|
|
return request({
|
|
|
url: '/wechat/findAppletUserInfo/' + code,
|
|
|
- params: {},
|
|
|
+ data: {},
|
|
|
method: 'get',
|
|
|
})
|
|
|
}
|
|
@@ -24,15 +24,15 @@ export function findAppletUserInfo(code) {
|
|
|
export function findUserPhoneNumber(code) {
|
|
|
return request({
|
|
|
url: '/wechat/findUserPhoneNumber/' + code,
|
|
|
- params: {},
|
|
|
+ data: {},
|
|
|
method: 'get',
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-export function findByOpenId(openId) {
|
|
|
+export function findByOpenId(data) {
|
|
|
return request({
|
|
|
- url: '/mobile/user/findByOpenId?openId='+openId,
|
|
|
- params: {},
|
|
|
+ url: '/mobile/user/findByOpenId',
|
|
|
+ data: data,
|
|
|
method: 'get',
|
|
|
})
|
|
|
}
|