mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2026-11-11 03:18:54 +08:00
refactor(after-sales): 删除独立售后页面并整合至订单列表
- 删除 afterSales.vue 独立页面,将售后入口统一至 myOrder 页面 - 修改售后相关页面跳转路径为 /pages/order/myOrder?status=5 - 重构 applySuccess 页面,增加微信订阅消息授权与视觉优化 - 重构预存款明细页面,增加收支筛选与日志解析功能 - 新增 store 端 API 基础地址配置
This commit is contained in:
26
pages-sub/merchant/api/evaluation.js
Normal file
26
pages-sub/merchant/api/evaluation.js
Normal file
@@ -0,0 +1,26 @@
|
||||
import { storeHttp } from "../utils/storeRequest.js";
|
||||
|
||||
/**
|
||||
* 分页获取客户评价列表
|
||||
* @param {Object} params { grade, goodsName, replyStatus, pageNumber, pageSize }
|
||||
*/
|
||||
export function getStoreEvaluationList(params) {
|
||||
return storeHttp.request({
|
||||
url: "/member/evaluation",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 回复客户评价
|
||||
* @param {String} id 评价ID
|
||||
* @param {String} reply 回复文字
|
||||
* @param {String} replyImage 可选回复图片
|
||||
*/
|
||||
export function replyStoreEvaluation(id, reply, replyImage = "") {
|
||||
return storeHttp.request({
|
||||
url: `/member/evaluation/reply/${id}?reply=${encodeURIComponent(reply)}&replyImage=${encodeURIComponent(replyImage)}`,
|
||||
method: "PUT",
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user