Commit 65911f00 by 张立顺

支付宝授权打开

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