Commit f2645b1d by 陶光胜

Merge branch 'developer' into 'master'

线上权限调整

See merge request !45
parents 7a8de886 4c30f7ac
......@@ -74,10 +74,15 @@ public class DataAuthUtils {
for(int i=0; i<array.size(); i++){
JSONObject jsonObject = array.getJSONObject(i);
OnLineStore onLineStore = new OnLineStore();
onLineStore.setChannel(jsonObject.getInteger("channel"));
String channel = jsonObject.getString("channel");
if(StringUtils.isBlank(channel)){
onLineAuth.setHasAuth(false);
}else {
onLineStore.setChannel(Integer.valueOf(channel));
onLineStore.setStoreIdList(JSONArray.parseArray(jsonObject.getJSONArray("storeContent").toJSONString(), String.class));
list.add(onLineStore);
}
}
onLineAuth.setList(list);
}
}
......
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