Commit 306a023d by 张立顺

fix bug修复

1 parent aaba3bc5
......@@ -144,11 +144,12 @@ export default {
this.isYqType = false
}
console.log(appId, 'appId')
// console.log(appId, 'appId')
// console.log('ap.getAuthCode', ap.getAuthCode)
// ap.alert(appId)
console.log(ap, 'ap')
console.log(ap.getAuthCode, 'ap.getAuthCode')
console.log(this.appId, 'this.appId')
try {
// 请求用户授权
ap.getAuthCode({
......@@ -204,10 +205,10 @@ export default {
this.userCollaborationCheck = !this.userCollaborationCheck
},
getOpenId(code) {
console.log('getOpenId', code)
console.log('getOpenId', code, this.appId)
console.log(alipayOauthToken)
// !code&&console.log('alipayOauthToken')
code && alipayOauthToken({ code }).then((result) => {
code && alipayOauthToken({ code, appId: this.appId }).then((result) => {
// alert('alipayOauthToken', JSON.stringify(result))
console.log('alipayOauthToken', result)
const { userId } = result
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!