Commit bcbfdd26 by xinla

--no commit message

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