Commit 25d50819 authored by 刘用法's avatar 刘用法

token替换

parent 0afa6d1e
......@@ -50,7 +50,7 @@
// if(e.standardId) {
// this.standardId = e.standardId
// }
this.token = getApp().globalData.token
this.token = this.vuex_token
},
methods: {
// 保存照片到本地
......
......@@ -130,7 +130,7 @@
// this.systemId = '79550af260555cc20afb34156c94b32c' // 测试数据
this.loading = true
this.$u.api.getUserWatermark({
'token': getApp().globalData.token,
'token': this.vuex_token,
'system_id': this.systemId
}).then(res => {
if (res && res.result) {
......@@ -148,7 +148,7 @@
saveUserWatermark: function() {
this.loading = true
this.$u.api.saveUserWatermark({
'token': getApp().globalData.token,
'token': this.vuex_token,
'watermark': this.result
}).then(res => {
if (res.result.code == true) {
......
......@@ -146,7 +146,7 @@
this.loading = true
let that = this
this.$u.cloudApi.getGroupStandardV2({
'token': getApp().globalData.token,
'token': this.vuex_token,
'classify_id': this.classifyId,
'system_id': this.systemId,
'brand_id': this.brandId
......@@ -253,7 +253,7 @@
// 清除图片
handleClickSure: function() {
this.$u.cloudApi.cleanImage({
'token': getApp().globalData.token,
'token': this.vuex_token,
}).then(res => {
this.isPopShow = false
if (res && res.result) {
......
......@@ -49,7 +49,7 @@
this.standardId = e.standardId
}
this.token = getApp().globalData.token
this.token = this.vuex_token
},
methods: {
// 保存照片到本地
......
......@@ -130,7 +130,7 @@
// this.systemId = '79550af260555cc20afb34156c94b32c' // 测试数据
this.loading = true
this.$u.cloudApi.getUserWatermark({
'token': getApp().globalData.token,
'token': this.vuex_token,
'system_id': this.systemId
}).then(res => {
if (res && res.result) {
......@@ -148,7 +148,7 @@
saveUserWatermark: function() {
this.loading = true
this.$u.cloudApi.saveUserWatermark({
'token': getApp().globalData.token,
'token': this.vuex_token,
'watermark': this.result
}).then(res => {
if (res.result.code == true) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment