## 恢复客商类型枚举接口;

This commit is contained in:
cabbage 2025-05-27 17:56:34 +08:00
parent 7ef10504ec
commit 0e7b1a6518
1 changed files with 14 additions and 0 deletions

View File

@ -2659,6 +2659,20 @@ public class EnumsController extends BaseController {
return AjaxResult.success(enumEntityList); return AjaxResult.success(enumEntityList);
} }
/**
* 客商类型
*
* @return
*/
@GetMapping("/supply-type")
public AjaxResult supplyType() {
List<EnumEntity> enumEntityList = new ArrayList<>();
for (ESupplierType value : ESupplierType.values()) {
enumEntityList.add(new EnumEntity(value.getValue(), value.getLabel(), EnumsPrefixConstants.SUPPLIER_TYPE));
}
return AjaxResult.success(enumEntityList);
}
/** /**
* 销售模式 * 销售模式
*/ */