|
|
|
@@ -55,9 +55,13 @@ public class WxFinanceController extends BaseController { |
|
|
|
*/ |
|
|
|
@GetMapping("billTypes") |
|
|
|
public ResultData billTypes() { |
|
|
|
List<EnumBillAllType> list = new ArrayList<EnumBillAllType>(); |
|
|
|
List<Map> list = new ArrayList<Map>(); |
|
|
|
for (EnumBillAllType t : EnumBillAllType.getCommonOperateTypes()) { |
|
|
|
list.add(t); |
|
|
|
Map m = new HashMap(); |
|
|
|
m.put("id", t.getCode()); |
|
|
|
m.put("name", t.getMessage()); |
|
|
|
m.put("isFixedPrice", t.isFixedPrice()); |
|
|
|
list.add(m); |
|
|
|
} |
|
|
|
return new ResultData(list); |
|
|
|
} |
|
|
|
|