修改因为商家分类接口报错的bug

This commit is contained in:
赵毅 2025-09-22 11:34:52 +08:00
parent 0eed1e96bb
commit 3209e7e26a
2 changed files with 9 additions and 1 deletions

5
api/routingInspection.js Normal file
View File

@ -0,0 +1,5 @@
export const apiArr = {
routingInspectionList: "/api/v2/wechat/inspection-task/list", //巡检任务列表
routingInspectionInfo: "/api/v2/wechat/inspection-task/info", //巡检任务详情
routingInspectionSubmit: "/api/v2/wechat/inspection-task/submit", //巡检任务提交
};

View File

@ -158,7 +158,10 @@ export default {
//
async getCateList() {
let that = this;
await request(apiArr.getMerChantCateList, "POST").then((res) => {
const params = {
isShop: 1,
}
await request(apiArr.getMerChantCateList, "POST",params).then((res) => {
res.rows = res.rows.filter((item) => item.is_visible == 1)
console.log(res);
// 10