| | |
| | | import com.dsh.other.entity.StoredValueConfig; |
| | | import com.dsh.other.service.StoredValueConfigService; |
| | | import com.dsh.other.util.ResultUtil; |
| | | import com.fasterxml.jackson.core.JsonProcessingException; |
| | | import com.fasterxml.jackson.databind.JsonNode; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | |
| | | for (JsonNode ruleNode : rulesNode) { |
| | | i = i + 1; |
| | | Map<String,Object> de = new HashMap<>(); |
| | | String money = ruleNode.get("money").asText(); |
| | | String usersCoins = ruleNode.get("usersCoins").asText(); |
| | | String MemberCoins = ruleNode.get("MemberCoins").asText(); |
| | | double money = ruleNode.get("money").asDouble(); |
| | | Integer usersCoins = ruleNode.get("usersCoins").asInt(); |
| | | Integer MemberCoins = ruleNode.get("MemberCoins").asInt(); |
| | | de.put("chargeId",i); |
| | | de.put("money",money); |
| | | de.put("usersCoins",usersCoins); |