merchapp/java-mall-app-shop-admin/api/complaint.js

32 lines
675 B
JavaScript

import http from "../utils/http";
import config from "../config/config";
/**
* 提交聊天举报
* @author Seven
* @data 2025-3-28
* @param {
* snsUserReport:
* {
* "reportedUserId":"1000067",
* "reportedNickname":"微信用户",
* "reporterPhone":"18278596806",
* "reportCategory":"1",
* "reportContent":"经常被骚扰"
* }
*
* files: 867ce8b9452246a18be865786efa923d.jpeg
* }
* @returns { }
* @see https://mall.gpxscs.cn/admin/shop/shop-order-base/mch/order/list
*/
export function GetSubmitReport(params) {
return http({
url: "/sns/snsUserReport/submitReport",
method: "post",
data: params,
baseURL: config.apiMobile,
});
}