diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 6c109a6..2f54098 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -45,10 +45,10 @@ const user = {
return new Promise((resolve, reject) => {
login(username, password, code, uuid).then(res => {
let data = res.data
- setToken(data.access_token)
- commit('SET_TOKEN', data.access_token)
- setExpiresIn(data.expires_in)
- commit('SET_EXPIRES_IN', data.expires_in)
+ setToken(data.accessToken)
+ commit('SET_TOKEN', data.accessToken)
+ setExpiresIn(data.expiresIn)
+ commit('SET_EXPIRES_IN', data.expiresIn)
resolve()
}).catch(error => {
reject(error)
diff --git a/src/views/pay/customer/index.vue b/src/views/pay/customer/index.vue
new file mode 100644
index 0000000..944d0bf
--- /dev/null
+++ b/src/views/pay/customer/index.vue
@@ -0,0 +1,17 @@
+
+
+
+
+
+ customer 页面
+
+
+
+
+
diff --git a/vue.config.js b/vue.config.js
index dd8b15d..a71b080 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -35,7 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- target: `http://localhost:8080`,
+ target: `http://47.103.41.248/prod-api`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''