记得上下班打卡 | git大法好,push需谨慎

Commit ab55ded1 authored by 胡佳晨's avatar 胡佳晨

修改权限

parent 499187a2
......@@ -119,9 +119,9 @@ public class DataImpl {
Integer performancePrice = orderTicketsMapper.getOrderScore(uid);
score += (performancePrice.intValue());
//获取商品每日任务积分
String resultData = HttpUtil.get("http://mall.zhengzai.tv/admin/sumUserCost?user_id=" + uid, null);
int goodsPrice = (int) JSONObject.parseObject(resultData).get("cost");
try {
String resultData = HttpUtil.get("http://mall.zhengzai.tv/admin/sumUserCost?user_id=" + uid, null);
int goodsPrice = (int) JSONObject.parseObject(resultData).get("cost");
score += (goodsPrice);
} catch (Exception e) {
......
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