朱鑫波 4 vuotta sitten
vanhempi
commit
94ad678154

+ 44 - 38
src/views/modules/kuaishouapp/account/stepForm/stepModule/test.vue

@@ -3,10 +3,10 @@
     <table class="time_table table" v-on:mouseleave="mouseleave">
       <thead>
         <tr>
-          <th rowspan="2" style="width:120px">日期/时间</th>
+          <th rowspan="2" style="width: 120px">日期/时间</th>
         </tr>
         <tr>
-          <th class="unselectable" v-for="(num, index) in numData" :key="index" style="width:30px">{{ num }}</th>
+          <th class="unselectable" v-for="(num, index) in numData" :key="index" style="width: 30px">{{ num }}</th>
         </tr>
       </thead>
       <tbody>
@@ -41,8 +41,8 @@ export default {
       type: String,
       default() {
         return '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
-      }
-    }
+      },
+    },
   },
   data() {
     return {
@@ -52,39 +52,39 @@ export default {
       timeData: [
         {
           date: '周一',
-          time: []
+          time: [],
         },
         {
           date: '周二',
-          time: []
+          time: [],
         },
         {
           date: '周三',
-          time: []
+          time: [],
         },
         {
           date: '周四',
-          time: []
+          time: [],
         },
         {
           date: '周五',
-          time: []
+          time: [],
         },
         {
           date: '周六',
-          time: []
+          time: [],
         },
         {
           date: '周日',
-          time: []
-        }
+          time: [],
+        },
       ],
       selectFlag: false,
       max: {
         x: 0,
-        y: 0
+        y: 0,
       },
-      dataString: ''
+      dataString: '',
     }
   },
   methods: {
@@ -102,7 +102,7 @@ export default {
     showOne(index, key) {
       //   this.timeData[index].time[key].isSelected = !this.timeData[index].time[key].isSelected
     },
-    mousedown: function(index, key) {
+    mousedown: function (index, key) {
       this.selectStart = []
       this.selectFlag = true
       if (this.timeData[index].time[key].value == false) {
@@ -114,10 +114,10 @@ export default {
       }
       this.selectStart.push({
         index: index,
-        key: key
+        key: key,
       })
     },
-    mouseover: function(index, key) {
+    mouseover: function (index, key) {
       // x 垂直方向  y 水平方向
       if (this.selectFlag) {
         if (index >= this.max.x) {
@@ -128,11 +128,11 @@ export default {
         }
         var start = {
           x: this.selectStart[0].index,
-          y: this.selectStart[0].key
+          y: this.selectStart[0].key,
         }
         var end = {
           x: index,
-          y: key
+          y: key,
         }
         for (var i = end.x; i <= this.max.x; i++) {
           for (var j = end.y; j <= this.max.y; j++) {
@@ -153,14 +153,14 @@ export default {
         }
       }
     },
-    mouseup: function(index, key) {
+    mouseup: function (index, key) {
       var start = {
         x: this.selectStart[0].index,
-        y: this.selectStart[0].key
+        y: this.selectStart[0].key,
       }
       var end = {
         x: index,
-        y: key
+        y: key,
       }
       /* 渲染选中的区域 */
       var data = []
@@ -179,7 +179,7 @@ export default {
         this.timeData[5].time,
         this.timeData[6].time
       )
-      this.dataString = arr.map(item => {
+      this.dataString = arr.map((item) => {
         if (item.isSelected) {
           return 1
         } else {
@@ -191,10 +191,10 @@ export default {
       this.selectFlag = false
       this.max = {
         x: 0,
-        y: 0
+        y: 0,
       }
     },
-    mouseleave: function() {
+    mouseleave: function () {
       this.selectFlag = false
     },
     setItemDate(sum) {
@@ -216,37 +216,43 @@ export default {
       }
     },
     init() {
-      var str = this.scheduleTime
+      var str = ''
+      if (this.scheduleTime) {
+        str = this.scheduleTime
+      } else {
+        str =
+          '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
+      }
       var arr = str.split('')
       this.timeData = [
         {
           date: '周一',
-          time: []
+          time: [],
         },
         {
           date: '周二',
-          time: []
+          time: [],
         },
         {
           date: '周三',
-          time: []
+          time: [],
         },
         {
           date: '周四',
-          time: []
+          time: [],
         },
         {
           date: '周五',
-          time: []
+          time: [],
         },
         {
           date: '周六',
-          time: []
+          time: [],
         },
         {
           date: '周日',
-          time: []
-        }
+          time: [],
+        },
       ]
       for (let i = 0; i < arr.length; i++) {
         if (i < 24) {
@@ -265,16 +271,16 @@ export default {
           this.timeData[6].time.push({ isSelected: arr[i] == 1 ? true : false, move: false, value: false })
         }
       }
-    }
+    },
   },
   watch: {
     scheduleTime: {
       immediate: true, // immediate选项可以开启首次赋值监听
       handler(newVal, oldVal) {
         this.init()
-      }
-    }
-  }
+      },
+    },
+  },
 }
 </script>
 

+ 191 - 85
src/views/modules/kuaishouapp/newBatch/index.vue

@@ -84,6 +84,9 @@ li.chouzhen.first:before {
 .create-info .ant-form-item {
   margin-bottom: 0 !important;
 }
+.fengmian .ant-checkbox-wrapper:first-child {
+  margin-left: 8px;
+}
 @media screen and (max-width: 1200px) {
   // 这里写对应要修改的样式如:
   .new-batch .el-step__title {
@@ -218,7 +221,7 @@ li.chouzhen.first:before {
                 <a-col :xl="14" :md="24">
                   <a-form-item label="单日预算">
                     {{
-                      groupTemplateId ? (unitInfo.dayBudget ? '不限' : unitInfo.dayBudget / 1000 + '元') : '无'
+                      groupTemplateId ? (unitInfo.dayBudget ? unitInfo.dayBudget + '元' : '不限') : '无'
                     }}</a-form-item
                   >
                 </a-col>
@@ -302,14 +305,13 @@ li.chouzhen.first:before {
                   </a-form-item>
                 </a-col>
                 <a-col :xl="10" :md="24" :pull="screenWidth >= 1200 ? 4 : 0" v-if="unitInfo.deepConversionBid">
-                  <a-form-item label="深度转化目标出价"> 
-                    
-                     <div v-if="groupTemplateId == null">无</div>
+                  <a-form-item label="深度转化目标出价">
+                    <div v-if="groupTemplateId == null">无</div>
 
                     <div v-else>
-                      {{ unitInfo.deepConversionBid/1000 }}
+                      {{ unitInfo.deepConversionBid / 1000 }}
                     </div>
-                     </a-form-item>
+                  </a-form-item>
                 </a-col>
               </a-row>
             </a-card>
@@ -356,18 +358,46 @@ li.chouzhen.first:before {
               </a-row>
               <a-row>
                 <a-col :xl="14" :md="24">
-                  <a-form-item label="创意分类"> <!-- {{}} -->无 </a-form-item>
+                  <a-form-item label="创意分类">
+                    <!-- {{creativeInfo.creativeCategory}} -->
+                    <a-cascader
+                      :options="createOptions"
+                      v-model="creativeInfo.creativeCategory"
+                      :fieldNames="fieldNames"
+                      placeholder="请选择创意分类"
+                      disabled
+                    />
+                  </a-form-item>
+
+                  <!-- creativeInfo.creativeCategory -->
                 </a-col>
                 <a-col :xl="10" :md="24" :pull="screenWidth >= 1200 ? 4 : 0">
-                  <a-form-item label="封面贴纸"> 无 </a-form-item>
+                  <a-form-item label="封面贴纸">
+                    <a-popover
+                      title="封面贴纸"
+                      :overlayStyle="{ width: '400px' }"
+                      placement="left"
+                      v-if="creativeInfo.overlayType[0]"
+                    >
+                      <template slot="content">
+                        <img :src="showImgUrl(creativeInfo.overlayType[0])" alt="" style="width: 100%" />
+                      </template>
+                      {{ creativeInfo.overlayType[0] }}
+                    </a-popover>
+                  </a-form-item>
+                  <!-- creativeInfo.overlayType -->
                 </a-col>
               </a-row>
               <a-row>
                 <a-col :xl="14" :md="24">
-                  <a-form-item label="创意标签"> <!-- {{}} -->无 </a-form-item>
+                  <a-form-item label="创意标签">
+                    {{ creativeInfo.creativeTag ? creativeInfo.creativeTag.join() : '无' }}
+                  </a-form-item>
+                  <!-- creativeInfo.creativeTag -->
                 </a-col>
                 <a-col :xl="10" :md="24" :pull="screenWidth >= 1200 ? 4 : 0">
-                  <a-form-item label="行动号召"> 无 </a-form-item>
+                  <a-form-item label="行动号召"> {{ creativeInfo.actionBarText }} </a-form-item>
+                  <!-- creativeInfo.actionBarText -->
                 </a-col>
               </a-row>
             </a-card>
@@ -933,7 +963,7 @@ li.chouzhen.first:before {
             </a-form-model-item>
           </a-col>
         </a-row> -->
-        <a-row :gutter="16" v-if="stickerStyles.length > 0">
+        <a-row :gutter="16" v-if="stickerStyles.length > 0" class="fengmian">
           <a-col :span="16">
             <a-form-model-item label="封面贴纸">
               <a-checkbox-group v-model="creativeInfo.overlayType">
@@ -1257,7 +1287,7 @@ li.chouzhen.first:before {
                 v-for="(item, indexList) in materialInfo.materialList"
                 :key="indexList"
               >
-                <a-tabs type="editable-card" hideAdd v-model="active">
+                <a-tabs type="editable-card" hideAdd v-model="item.active">
                   <a-tab-pane
                     :tab="'创意' + (indexMater + 1)"
                     v-for="(items, indexMater) in item.photoArr"
@@ -1501,8 +1531,7 @@ export default {
       active: 0,
       previewVisible: false,
 
-
-      targetIds:[],
+      targetIds: [],
       accountId: '',
       directionalVisible: false, //定向包选择模态框
       templateList: [], //定向包模板列表
@@ -1599,6 +1628,7 @@ export default {
         creativeCategory: [],
         creativeTag: [],
         stickerTitle: '',
+        actionBarText: '',
       },
       creativeTag: [],
       creativeRules: {
@@ -1719,6 +1749,7 @@ export default {
 
       campaignTemplateId: null,
       groupTemplateId: null,
+      createTiveTemplateId: null,
     }
   },
   watch: {
@@ -1726,6 +1757,32 @@ export default {
       if (n != '') {
         this.getCampaignTemplate(n)
         this.getGroupTemplate(n)
+        this.getCreativeTemplate(n)
+        this.getAction('/kuaishou/batch/getCreativeCategory', {
+          accountId: n,
+        }).then((res) => {
+          if (res.success) {
+            this.createOptions = res.result
+          }
+        })
+        this.getAction('/kuaishou/batch/getCreativeWordStyles', {
+          accountId: n,
+        }).then((res) => {
+          if (res.success) {
+            if (res.result) {
+              this.stickerStyles = res.result.map((item) => {
+                return {
+                  id: item.sticker_style_id,
+                  url: item.sticker_styles[0],
+                }
+              })
+            } else {
+              this.stickerStyles = []
+            }
+          } else {
+            this.stickerStyles = []
+          }
+        })
       }
     },
     checkMatemalVisible(n, o) {
@@ -1811,6 +1868,7 @@ export default {
     //选择素材相关
     handleOkShow() {
       var arrPhotoId = []
+      var count = this.materialInfo.groupCreativity == 2 ? 15 : this.materialInfo.creativityNumber
       for (let i = 0; i < this.materialInfo.coverNumber; i++) {
         var data = this.checkVideo
         arrPhotoId = arrPhotoId.concat(data)
@@ -1822,7 +1880,10 @@ export default {
           photoId: arrPhotoId[i],
           image: {},
           creativeName:
-            '创意组' + `${Math.ceil((i + 1) / 15)}` + '-创意' + `${i > 15 ? (i % 15 == 0 ? 15 : i % 15) : i + 1}`,
+            '创意组' +
+            `${Math.ceil((i + 1) / count)}` +
+            '-创意' +
+            `${i > count ? (i % count == 0 ? count : i % count) : i + 1}`,
           description: '',
         })
       }
@@ -1834,9 +1895,9 @@ export default {
         }
         return newArr
       }
-      var arrAll = spArray(15, arr)
+      var arrAll = spArray(count, arr)
 
-      var dataCount = Math.ceil((this.materialInfo.coverNumber * this.checkVideo.length) / 15)
+      var dataCount = Math.ceil((this.materialInfo.coverNumber * this.checkVideo.length) / count)
 
       this.materialInfo.materialList = []
       for (let i = 0; i < dataCount; i++) {
@@ -1844,6 +1905,7 @@ export default {
         this.materialInfo.materialList.push({
           name: '创意组' + (i + 1),
           photoArr: dataArr,
+          active:0
         })
       }
 
@@ -1853,7 +1915,10 @@ export default {
 
           this.getImageCover(this.materialInfo.materialList[i].photoArr[j].photoId).then((res) => {
             setTimeout(() => {
-              this.materialInfo.materialList[i].photoArr[j].image = res[j % this.materialInfo.coverNumber]
+              if (res.length > 0) {
+                this.materialInfo.materialList[i].photoArr[j].image =
+                  res[i % 2 == 0 ? j % this.materialInfo.coverNumber : 7 - (j % this.materialInfo.coverNumber)]
+              }
 
               this.checkMatemalVisible = false
             }, 100)
@@ -2002,9 +2067,9 @@ export default {
         }
       })
     },
-    removeTarget(templateId){
-      var index = this.checkDirectionalList.findIndex(item=>item.templateId == templateId)
-      this.checkDirectionalList.splice(index,1)
+    removeTarget(templateId) {
+      var index = this.checkDirectionalList.findIndex((item) => item.templateId == templateId)
+      this.checkDirectionalList.splice(index, 1)
     },
     directionalOk() {
       this.checkDirectionalList = this.selectionRows
@@ -2190,6 +2255,12 @@ export default {
         })
       }
     },
+    showImgUrl(id) {
+      var data = this.stickerStyles.filter((item) => item.id == id)[0]
+      if (data && data.url) {
+        return data.url.overlay_preview_url
+      }
+    },
     showDrawerCreate() {
       if (this.checkAccountId()) {
         this.creativeVisible = true
@@ -2237,7 +2308,7 @@ export default {
         this.dayBudgetType = '1'
         this.unitTime = '1'
         this.scheduleTime = '1'
-      } else {
+      } else if (form == 'createForm') {
         this.creativeVisible = false
       }
     },
@@ -2252,6 +2323,7 @@ export default {
           }
           var params = { ...this.unitInfo }
           params.id = this.groupTemplateId
+          params.unitType = 4
           params.accountId = this.accountId
           params.sceneId = this.allianceAccount == '1' ? JSON.stringify(this.unitInfo.sceneId) : JSON.stringify([5])
           params.dayBudget = this.dayBudgetType == '1' ? null : this.unitInfo.dayBudget * 1000
@@ -2284,13 +2356,19 @@ export default {
       this.$refs.createForm.validate((valid) => {
         if (valid) {
           var params = { ...this.creativeInfo }
+          params.id = this.createTiveTemplateId
           params.accountId = this.accountId
           params.overlayType = this.creativeInfo.overlayType.length > 0 ? this.creativeInfo.overlayType[0] : null
+          params.creativeCategory = this.creativeInfo.creativeCategory[this.creativeInfo.creativeCategory.length - 1]
+          params.creativeTag = JSON.stringify(this.creativeInfo.creativeTag)
+          params.actionBarText = this.creativeInfo.actionBarText
+          params.stickerTitle = this.creativeInfo.overlayType.length > 0 ? this.creativeInfo.stickerTitle : null
+
           //      allianceAccount: '1',
           // dayBudgetType: '1',
           // unitTime: '1',
           // scheduleTime: '1',
-          this.postDataAction('/template/kuaiShouBatchGroupTemplate/saveOrUpdate', params).then((res) => {
+          this.postDataAction('/template/kuaiShouBatchCreativeTemplate/saveOrUpdate', params).then((res) => {
             console.log(res)
           })
         } else {
@@ -2307,59 +2385,81 @@ export default {
     onOk(value) {
       console.log('onOk: ', value)
     },
+    getCreativeTemplate(accountId) {
+      this.getAction('/template/kuaiShouBatchCreativeTemplate/getCreativeTemplate', {
+        accountId: accountId,
+      }).then((res) => {
+        if (res.success) {
+          if (res.result.id) {
+            var data = res.result
+            //   params.id = this.createTiveTemplateId
+            // params.accountId = this.accountId
+            // params.overlayType = this.creativeInfo.overlayType.length > 0 ? this.creativeInfo.overlayType[0] : null
+            // params.creativeCategory = this.creativeInfo.creativeCategory[this.creativeInfo.creativeCategory.length - 1]
+            // params.creativeTag = JSON.stringify(this.creativeTag)
+            // params.actionBarText = this.creativeInfo.actionBarText
+            // params.stickerTitle = this.creativeInfo.overlayType.length > 0 ? this.creativeInfo.stickerTitle : null
+            this.createTiveTemplateId = data.id
+            this.creativeInfo.overlayType = data.overlayType ? [+data.overlayType] : []
+            this.creativeInfo.creativeCategory = data.creativeCategory
+              ? [
+                  +(data.creativeCategory + '').substring(0, 1),
+                  +(data.creativeCategory + '').substring(0, 3),
+                  data.creativeCategory,
+                ]
+              : []
+            this.creativeInfo.creativeTag = data.creativeTag ? JSON.parse(data.creativeTag) : []
+            this.creativeInfo.actionBarText = data.actionBarText
+            this.creativeInfo.stickerTitle = data.stickerTitle
+            //      allianceAccount: '1',
+            // dayBudgetType: '1',
+            // unitTime: '1',
+            // scheduleTime: '1',
+          } else {
+            this.closeUnit('createForm')
+          }
+        }
+      })
+    },
     getGroupTemplate(accountId) {
       this.getAction('/template/kuaiShouBatchGroupTemplate/getGroupTemplate', {
         accountId: accountId,
       }).then((res) => {
         if (res.success) {
-          var str = ''
-          for (let i = 0; i < 7 * 24; i++) {
-            str += '0'
+          if (res.result.id) {
+            var str = ''
+            for (let i = 0; i < 7 * 24; i++) {
+              str += '0'
+            }
+            var data = res.result
+            this.groupTemplateId = data.id
+            this.unitInfo.useAppMarket = data.useAppMarket == 1 ? true : false
+            this.unitInfo.appStore = data.appStore ? JSON.parse(data.appStore) : []
+            this.dayBudgetType = data.dayBudget ? '2' : '1'
+            this.unitInfo.dayBudget = data.dayBudget ? data.dayBudget / 1000 : null
+            this.unitInfo.speed = data.speed + ''
+            this.unitTime = data.endTime ? '2' : '1'
+            this.unitInfo.timeRange = data.endTime
+              ? [moment().startOf('day'), moment().add(1, 'months')]
+              : [moment().startOf('day'), moment().add(1, 'months')]
+            this.scheduleTime = data.scheduleTime == null || data.scheduleTime == str ? '1' : '2'
+            this.unitInfo.scheduleTime = data.scheduleTime == null || data.scheduleTime == str ? str : data.scheduleTime
+            this.unitInfo.showMode = data.showMode + ''
+            this.unitInfo.sceneId = JSON.parse(data.sceneId)[0] == 5 ? [1] : JSON.parse(data.sceneId)
+            this.allianceAccount = JSON.parse(data.sceneId)[0] == 5 ? '2' : '1'
+            this.unitInfo.bidType = data.bidType
+            this.unitInfo.ocpxActionType = data.ocpxActionType ? data.ocpxActionType : 2
+            this.unitInfo.deepConversionType = data.deepConversionType
+            this.unitInfo.templateBidType = data.templateBidType
+            this.unitInfo.cpaBid = data.cpaBid
+            this.unitInfo.bid = data.bid
+            this.unitInfo.deepConversionBid = data.deepConversionBid
+            this.unitInfo.bidMax = data.bidMax
+            this.unitInfo.bidMin = data.bidMin
+            this.unitInfo.unitName = data.unitName
+          } else {
+            this.closeUnit('ruleForm')
           }
-          var data = res.result
-          this.groupTemplateId = data.id
-          this.unitInfo.useAppMarket = data.useAppMarket == 1 ? true : false
-          this.unitInfo.appStore = data.appStore ? JSON.parse(data.appStore) : []
-          this.dayBudgetType = data.dayBudget ? '2' : '1'
-          this.unitInfo.dayBudget = data.dayBudget ? data.dayBudget / 1000 : null
-          this.unitInfo.speed = data.speed + ''
-          this.unitTime = data.endTime ? '2' : '1'
-          this.unitInfo.timeRange = data.endTime
-            ? [moment().startOf('day'), moment().add(1, 'months')]
-            : [moment().startOf('day'), moment().add(1, 'months')]
-          this.scheduleTime = data.scheduleTime == null || data.scheduleTime == str ? '1' : '2'
-          this.unitInfo.scheduleTime = data.scheduleTime == null || data.scheduleTime == str ? str : data.scheduleTime
-          this.unitInfo.showMode = data.showMode + ''
-          this.unitInfo.sceneId = JSON.parse(data.sceneId)[0] == 5 ? [1] : JSON.parse(data.sceneId)
-          this.allianceAccount = JSON.parse(data.sceneId)[0] == 5 ? '2' : '1'
-          this.unitInfo.bidType = data.bidType
-          this.unitInfo.ocpxActionType = data.ocpxActionType ? data.ocpxActionType : 2
-          this.unitInfo.deepConversionType = data.deepConversionType
-          this.unitInfo.templateBidType = data.templateBidType
-          this.unitInfo.cpaBid = data.cpaBid
-          this.unitInfo.bid = data.bid
-          this.unitInfo.deepConversionBid = data.deepConversionBid
-          this.unitInfo.bidMax = data.bidMax
-          this.unitInfo.bidMin = data.bidMin
-          this.unitInfo.unitName = data.unitName
-          //   showMode: '2',
-          //   sceneId: [1],
-          //   bidType: 10,
-          //   ocpxActionType: 2,
-          //   deepConversionType: null,
-          //   templateBidType: 1,
-          //   cpaBid: null,
-          //   bid: null,
-          //   deepConversionBid: null,
-          //   bidMax: null,
-          //   bidMin: null,
-          //   unitName: '',
-          //   // 'huawei', 'oppo', 'vivo', 'xiaomi', 'meizu', 'smartisan'
-          // },
-          // allianceAccount: '1',
-
-          // scheduleTime: '1',
-          console.log(res)
         }
       })
     },
@@ -2367,22 +2467,28 @@ export default {
       this.getAction('/template/kuaiShouBatchCampaignTemplate/getCampaignTemplate', {
         accountId: accountId,
       }).then((res) => {
-        this.campaignTemplateId = res.result.id
-        this.campaignData = res.result
-        if (this.campaignData.timeStart) {
-          this.campaignData.timeStart = moment(this.campaignData.timeStart)
-        }
-        if (this.campaignData.dayBudget) {
-          this.campaignData.budgetType = '2'
-          this.campaignData.dayBudget = res.result.dayBudget / 1000
+        if (res.success) {
+          if (res.result.id) {
+            this.campaignTemplateId = res.result.id
+            this.campaignData = res.result
+            if (this.campaignData.timeStart) {
+              this.campaignData.timeStart = moment(this.campaignData.timeStart)
+            }
+            if (this.campaignData.dayBudget) {
+              this.campaignData.budgetType = '2'
+              this.campaignData.dayBudget = res.result.dayBudget / 1000
+            }
+            var that = this
+            setTimeout(() => {
+              var mdl = Object.assign({}, that.campaignData)
+              that.$nextTick(() => {
+                that.form.setFieldsValue(pick(mdl, ['campaignType']))
+              })
+            })
+          } else {
+            this.form.resetFields()
+          }
         }
-        var that = this
-        setTimeout(() => {
-          var mdl = Object.assign({}, that.campaignData)
-          that.$nextTick(() => {
-            that.form.setFieldsValue(pick(mdl, ['campaignType']))
-          })
-        })
       })
     },
     ruleConfigFormOk(e) {

+ 2 - 2
vue.config.js

@@ -78,9 +78,9 @@ module.exports = {
         // target: 'http://192.168.0.252:8098', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.1.219:8080', //请求本地 需要jeecg-boot后台项目  赵西安
         // target: 'http://192.168.1.193:8088', //请求本地 需要jeecg-boot后台项目  李煜一
-        target: 'http://api.tjyourong.com.cn',
+        // target: 'http://api.tjyourong.com.cn',
         // target: 'http://39.106.184.70:8088/', //请求本地 需要jeecg-boot后台项目
-        // target:'http://139.186.151.174:8804', //测试
+        target:'http://139.186.151.174:8804', //测试
 
 
         ws: false,