提交 f78ba079 编写于 作者: guofeng.chen's avatar guofeng.chen

修改appid

上级 cf959bc9
...@@ -47,7 +47,7 @@ export const envConfig = { ...@@ -47,7 +47,7 @@ export const envConfig = {
webPageUrl: 'https://dev-phome.yunqueyi.com/', webPageUrl: 'https://dev-phome.yunqueyi.com/',
hactiveUrl: 'https://dev-hactive.yunqueyi.com', hactiveUrl: 'https://dev-hactive.yunqueyi.com',
fileUrl: 'https://dev-www.yunqueyi.com', fileUrl: 'https://dev-www.yunqueyi.com',
appId: 'wx08b383d002c73f26', // 用于微信授权登录 appId: 'wx2c577552a2d28550', // 用于微信授权登录
}, },
test: { test: {
baseUrl: 'https://test1-sc.yunqueyi.com/', baseUrl: 'https://test1-sc.yunqueyi.com/',
......
...@@ -263,11 +263,11 @@ export default { ...@@ -263,11 +263,11 @@ export default {
this.POST('trade/center/order/createV2', orderData).then(res => { this.POST('trade/center/order/createV2', orderData).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
const orderId = res.data.orderId; const orderId = res.data.orderId;
// if (isWechat) { if (isWechat) {
this.goWxPayInner(orderId); this.goWxPayInner(orderId);
// } else { } else {
// this.goWxPayOut(orderId); this.goWxPayOut(orderId);
// } }
if (this.projectId) { if (this.projectId) {
this.createRelation(this.projectId, orderId); this.createRelation(this.projectId, orderId);
} }
...@@ -279,7 +279,7 @@ export default { ...@@ -279,7 +279,7 @@ export default {
// 站外微信支付 // 站外微信支付
goWxPayOut(orderId) { goWxPayOut(orderId) {
const data = { const data = {
openId: getAPPID(), // openId: getAPPID(),
orderId, orderId,
payChannel: 1, payChannel: 1,
tradeType: 3, tradeType: 3,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册