Commit bcbfdd26 by xinla

--no commit message

1 parent 7e699d37
...@@ -50,7 +50,7 @@ export function getUserInfo(code, agentId) { ...@@ -50,7 +50,7 @@ export function getUserInfo(code, agentId) {
* @returns * @returns
*/ */
export function getUserOpenid(code) { export function getUserOpenid(code) {
return request({ url: `http://demo.linkwechat.cn:8070/weixin/auth/getToken?code=${code}` }) return request({ url: `/weixin/auth/getToken?code=${code}` })
} }
/** /**
...@@ -59,7 +59,7 @@ export function getUserOpenid(code) { ...@@ -59,7 +59,7 @@ export function getUserOpenid(code) {
*/ */
export function getWechatUserInfo(openId) { export function getWechatUserInfo(openId) {
return request({ return request({
url: `http://demo.linkwechat.cn:8070/weixin/auth/getUserInfo`, url: `/weixin/auth/getUserInfo`,
params: { params: {
openId, openId,
lang: 'zh_CN', lang: 'zh_CN',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!