## 会员币种、专区枚举接口调整;
This commit is contained in:
parent
d3d29bb9a9
commit
42a967cc1d
|
|
@ -464,8 +464,10 @@ public class EnumsController extends BaseController {
|
||||||
public AjaxResult specialAreaConsume() {
|
public AjaxResult specialAreaConsume() {
|
||||||
List<EnumEntity> enumEntityList = new ArrayList<>();
|
List<EnumEntity> enumEntityList = new ArrayList<>();
|
||||||
for (ESpecialArea value : ESpecialArea.values()) {
|
for (ESpecialArea value : ESpecialArea.values()) {
|
||||||
|
if (value.getEnable() == EnableStatus.ENABLE.getValue()) {
|
||||||
enumEntityList.add(new EnumEntity(value.getValue(), value.getLabel()));
|
enumEntityList.add(new EnumEntity(value.getValue(), value.getLabel()));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return AjaxResult.success(enumEntityList);
|
return AjaxResult.success(enumEntityList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -561,7 +563,7 @@ public class EnumsController extends BaseController {
|
||||||
public AjaxResult account() {
|
public AjaxResult account() {
|
||||||
List<EnumEntity> enumEntityList = new ArrayList<>();
|
List<EnumEntity> enumEntityList = new ArrayList<>();
|
||||||
for (EAccount value : EAccount.values()) {
|
for (EAccount value : EAccount.values()) {
|
||||||
enumEntityList.add(new EnumEntity(value.getValue(), value.getLabel(), EnumsPrefixConstants.ACCOUNT));
|
enumEntityList.add(new EnumEntity(value.getValue(), value.getLabel()));
|
||||||
}
|
}
|
||||||
return AjaxResult.success(enumEntityList);
|
return AjaxResult.success(enumEntityList);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue