Bladeren bron

修改用户名参数

huangxiaojing 2 jaren geleden
bovenliggende
commit
48d6b28d3b
3 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 1 1
      pages/activity/lottery/index.vue
  2. 1 1
      pages/activity/lottery/pc.vue
  3. 2 2
      pages/customer-service.vue

+ 1 - 1
pages/activity/lottery/index.vue

@@ -490,7 +490,7 @@ export default {
         {
           client: this.client,
           eventCode: '27_抽奖流程',
-          userName: this.$auth.user.userName,
+          userName: this.$auth.user.username,
           positionButton,
           operationTime: now
             .toISOString()

+ 1 - 1
pages/activity/lottery/pc.vue

@@ -443,7 +443,7 @@ export default {
         {
           client: this.client,
           eventCode: '27_抽奖流程',
-          userName: this.$auth.user.userName,
+          userName: this.$auth.user.username,
           positionButton,
           operationTime: now
             .toISOString()

+ 2 - 2
pages/customer-service.vue

@@ -48,7 +48,7 @@ export default {
     },
     ysfConfigData() {
       return [
-        { key: 'real_name', value: this.$auth.user.userName },
+        { key: 'real_name', value: this.$auth.user.username },
         { key: 'mobile_phone', hidden: true, value: this.$auth.user.phone },
         { key: 'email', value: this.$auth.user.email },
         {
@@ -69,7 +69,7 @@ export default {
     ysfConfig() {
       return {
         uid: String(this.$auth.user.id),
-        name: this.$auth.user.userName,
+        name: this.$auth.user.username,
         mobile: this.$auth.user.phone,
         email: this.$auth.user.email,
         data: JSON.stringify(this.ysfConfigData),