You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
2.0 KiB

5 months ago
import { _get, _post, _form, _delete } from "../../http/index";
// region 执法端接口
let enforcementAppBaseUrl = "/app-enf";
// 执法端用户登录
// export const enforcementLogin = (params, success, error) => _post(enforcementAppBaseUrl + "/login/do", params, success, error);
export const enforcementLogin = (params, success, error) => _post(enforcementAppBaseUrl + "/login/szyptLogin", params, success, error);
5 months ago
5 months ago
// 扫描二维码后获取企业信息(qrContent 为前端解析二维码获取的原始文本)
export const getEntInfoByQRCode = (qrContent, success, error) => _get(enforcementAppBaseUrl + "/enterpriseInfo/getEntInfoByQRCode", { qrContent }, success, error);
// 搜索企业列表(支持企业名称或统一信用代码搜索)
export const searchEnterprise = (keyword, success, error) => _get(enforcementAppBaseUrl + "/enterpriseInfo/searchEnterprise", { keyword }, success, error);
// 执法登记列表
export const queryEnforcementRegistrationPageList = (params, success, error) => _get(enforcementAppBaseUrl + "/enforcement_registration/queryEnforcementRegistrationPageList", params, success, error);
// 企业消息 / 执法消息详情
export const getEnforcementRegistrationDetailById = (params, success, error) => _get(enforcementAppBaseUrl + "/enforcement_registration/queryDetailById", params, success, error);
// 评价详情
export const getEvaluateDetail = (params, success, error) => _get(enforcementAppBaseUrl + "/enterprise/evaluate", params, success, error);
// 提交评价
export const submitEvaluate = (params, success, error) => _post(enforcementAppBaseUrl + "/enterprise/evaluate", params, success, error);
// 普法服务列表
export const getEducationServicesList = (params, success, error) => _get(enforcementAppBaseUrl + "/enforcementcode/educationServices/list", params, success, error);
// 普法服务详情
export const getEducationServicesDetail = (params, success, error) => _get(enforcementAppBaseUrl + "/enforcementcode/educationServices/details", params, success, error);
5 months ago
// endregion