## 恢复客商类型枚举接口;
This commit is contained in:
parent
00da79828e
commit
5cea70d680
|
@ -2659,6 +2659,20 @@ public class EnumsController extends BaseController {
|
|||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
* 销售模式
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue