Commit 073522f2 by zhiwj

资源组修改获取方式

parent a2a7c417
......@@ -178,7 +178,7 @@ public class ResourceController {
vo.setOrderResourceJSON(orderResourceList);
}
if (StringUtils.isNotBlank(dto.getAppResourceJson())) {
List<AppResourceVO> appResourceList = JSON.parseArray(dto.getAppResourceJson(), AppResourceVO.class);
List<List> appResourceList = JSON.parseArray(dto.getAppResourceJson(), List.class);
vo.setAppResourceJSON(appResourceList);
}
ServiceResponse<GoodsRightsSelectorDTO> goodsResponse = this.goodsRightsSelectorApiService.getGoodsRightsSelector(response.getResult().getGoodsResourceId());
......
package com.gic.auth.web.vo;
import java.io.Serializable;
import java.util.List;
/**
*
* @Description:
* @author zhiwj
* @date 2019-09-27 10:23
*/
public class AppResourceVO implements Serializable {
private static final long serialVersionUID = -495359852430529567L;
private Integer appId;
private String appName;
private List<AppResourceVO> child;
public Integer getAppId() {
return appId;
}
public void setAppId(Integer appId) {
this.appId = appId;
}
public String getAppName() {
return appName;
}
public void setAppName(String appName) {
this.appName = appName;
}
public List<AppResourceVO> getChild() {
return child;
}
public void setChild(List<AppResourceVO> child) {
this.child = child;
}
}
......@@ -51,7 +51,7 @@ public class ResourceVO implements Serializable{
*/
private List<OrderResourceVO> orderResourceJSON;
private List<AppResourceVO> appResourceJSON;
private List<List> appResourceJSON;
private Integer userResourceCount;
private StoreResouceVO storeResouce;
......@@ -121,11 +121,11 @@ public class ResourceVO implements Serializable{
this.orderResourceJSON = orderResourceJSON;
}
public List<AppResourceVO> getAppResourceJSON() {
public List<List> getAppResourceJSON() {
return appResourceJSON;
}
public void setAppResourceJSON(List<AppResourceVO> appResourceJSON) {
public void setAppResourceJSON(List<List> appResourceJSON) {
this.appResourceJSON = appResourceJSON;
}
......
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