Commit 65911f00 by 张立顺

支付宝授权打开

1 parent 1efbbfb5
......@@ -130,15 +130,15 @@ export default {
this.merchantName = merchantName
// console.log(merchanInfo)
// 请求用户授权
// ap.getAuthCode({
// // appId: '${appId}',
// appId,
// // scopes: ['auth_user']
// // 主动授权:auth_user,静默授权:auth_base。或者其它scope
// scopes: ['auth_base']
// }, function (res) {
// res.authCode && that.gteOpenId(res.authCode)
// })
ap.getAuthCode({
// appId: '${appId}',
appId,
// scopes: ['auth_user']
// 主动授权:auth_user,静默授权:auth_base。或者其它scope
scopes: ['auth_base']
}, function (res) {
res.authCode && that.gteOpenId(res.authCode)
})
// this.gteOpenId('ab3aa51e466140b5b96475706653UX72')
......
......@@ -55,7 +55,7 @@ const spritesmithFunction = data => {
module.exports = {
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-lwk/', // 本地调试时需登录时使用
// publicPath: './',
publicPath: './', // 署应用包时的基本 URL。 vue-router history模式使用
publicPath: '/dj-carlife-web-alipay', // 署应用包时的基本 URL。 vue-router history模式使用
// publicPath: '/dj-carlife-web-alipay/', // 署应用包时的基本 URL。 vue-router history模式使用
outputDir: 'dist', // 生产环境构建文件的目录
// assetsDir: 'static', // outputDir的静态资源(js、css、img、fonts)目录
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!