Explorar el Código

修复发送短信 bug;

庄逸洲 hace 5 años
padre
commit
4b6308da8b
Se han modificado 2 ficheros con 4 adiciones y 3 borrados
  1. 3 3
      src/api/sms/index.js
  2. 1 0
      src/scrm_pages/members/members.vue

+ 3 - 3
src/api/sms/index.js Ver fichero

@@ -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 Ver fichero

@@ -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 = '';