更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -1,15 +1,9 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
/**
|
||||
* CRM 基本设置 - 计量单位接口。
|
||||
* 单位用于产品管理等业务(产品「单位」下拉取自本表)。
|
||||
*/
|
||||
|
||||
export function getUnitList(params) {
|
||||
return request({ url: "/backend/crm/unit/list", method: "get", params });
|
||||
}
|
||||
|
||||
/** 下拉数据源:仅返回启用中的单位 */
|
||||
export function getAllUnits(params) {
|
||||
return request({ url: "/backend/crm/unit/all", method: "get", params });
|
||||
}
|
||||
@@ -30,7 +24,6 @@ export function deleteUnit(id) {
|
||||
return request({ url: `/backend/crm/unit/${id}`, method: "delete" });
|
||||
}
|
||||
|
||||
/** 补齐缺失的系统默认单位(套 / 台 / 个 …) */
|
||||
export function initDefaultUnits() {
|
||||
return request({ url: "/backend/crm/unit/init-default", method: "post" });
|
||||
}
|
||||
Reference in new issue
Block a user