diff --git a/http/api/market/chat.js b/http/api/market/chat.js index ab9f423..af92e73 100644 --- a/http/api/market/chat.js +++ b/http/api/market/chat.js @@ -43,3 +43,13 @@ export function chatCouponRecord(params) { params, }); } + +export function deleteRecord(params) { + return request({ + url: urlType + `/admin/coupon/deleteRecord?id=`+params.id, + method: "delete", + params, + }); +} + + diff --git a/http/php/chat.js b/http/php/chat.js index e9933a4..7e53678 100644 --- a/http/php/chat.js +++ b/http/php/chat.js @@ -84,4 +84,9 @@ export const messageSessionList = (data) => { export const groupDoNotDisturb = (data) => { return request(prveUrl + "group/do-not-disturb", "POST", data, true); -}; \ No newline at end of file +}; + +export const groupEditTitle = (data) => { + return request(prveUrl + "group/editTitle", "POST", data, true); +}; + diff --git a/pageChat/chat.vue b/pageChat/chat.vue index b7971f7..43de208 100644 --- a/pageChat/chat.vue +++ b/pageChat/chat.vue @@ -5,7 +5,7 @@ {{ groupInfo.name }} - ({{membersRes.user_list.length}}人) + ({{ membersRes.user_list.length }}人) @@ -36,7 +36,11 @@ >