congxuesong hace 1 mes
padre
commit
21ee2de15a
Se han modificado 1 ficheros con 33 adiciones y 0 borrados
  1. 33 0
      src/api/modules/licenseManagement.ts

+ 33 - 0
src/api/modules/licenseManagement.ts

@@ -0,0 +1,33 @@
+import { ResPage, StoreUser } from "@/api/interface/index";
+import { PORT_NONE } from "@/api/config/servicePort";
+import http from "@/api";
+
+// 获取营业执照
+export const getBusinessLicense = params => {
+  return http.get(PORT_NONE + `/license/getBusinessLicense`, params);
+};
+
+// 获取食品经营许可证
+export const getFoodBusinessLicense = params => {
+  return http.get(PORT_NONE + `/license/getFoodBusinessLicense`, params);
+};
+
+// 获取合同图片列表
+export const getContractImages = params => {
+  return http.get(PORT_NONE + `/license/getContractImages`, params);
+};
+
+// 获取变更记录
+export const getChangeRecords = params => {
+  return http.get(PORT_NONE + `/license/getChangeRecords`, params);
+};
+
+// 提交食品经营许可证审核
+export const submitFoodLicenseReview = params => {
+  return http.post(PORT_NONE + `/license/submitFoodLicenseReview`, params);
+};
+
+// 提交合同审核
+export const submitContractReview = params => {
+  return http.post(PORT_NONE + `/license/submitContractReview`, params);
+};