Commit 9a457cb3 by guojuxing

服务周期修改

parent 226ce52a
......@@ -91,7 +91,11 @@ public class ServiceInfoVO implements Serializable{
}
JSONObject jsonObject = JSONObject.parseObject(skuInfo);
JSONObject period = jsonObject.getJSONObject("period");
String unit = (String) period.get("effect_time");
Integer unitNum = (Integer) period.get("effect_time");
String unit = "";
if (unitNum != null) {
unit = unitNum.toString();
}
if ("3".equals(unit)) {
unit = "年";
} else if("2".equals(unit)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment