瀏覽代碼

修复发送短信 bug;

庄逸洲 5 年之前
父節點
當前提交
4b6308da8b
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. 3 3
      src/api/sms/index.js
  2. 1 0
      src/scrm_pages/members/members.vue

+ 3 - 3
src/api/sms/index.js 查看文件

@@ -39,7 +39,7 @@ export function send2AllCustomers(content) {
39 39
     return request({
40 40
         url: "/api/sms/send2all",
41 41
         method: "post",
42
-        param: {
42
+        params: {
43 43
             content: content,
44 44
         }
45 45
     })
@@ -49,7 +49,7 @@ export function send2TagCustomers(content, tag_ids) {
49 49
     return request({
50 50
         url: "/api/sms/send2tag",
51 51
         method: "post",
52
-        param: {
52
+        params: {
53 53
             content: content,
54 54
             tags: tag_ids,
55 55
         }
@@ -60,7 +60,7 @@ export function send2SpecificCustomers(content, customer_ids) {
60 60
     return request({
61 61
         url: "/api/sms/send2specific",
62 62
         method: "post",
63
-        param: {
63
+        params: {
64 64
             content: content,
65 65
             ids: customer_ids,
66 66
         }

+ 1 - 0
src/scrm_pages/members/members.vue 查看文件

@@ -347,6 +347,7 @@
347 347
           this.$refs.editMemberTagsForm.open();
348 348
         },
349 349
         openEdit(row, index){
350
+          this.memberData.tags= [];
350 351
           this.memberData.illness = [];
351 352
           this.memberData.city = [];
352 353
           this.memberData.birthday = '';