Commit 51f42871 by zhiwj

添加查询短信签名的接口

parent 281e8074
......@@ -131,7 +131,7 @@ public class ResourceController {
resourceDTO.setAppResourceJson(JSON.toJSONString(resourceQO.getAppResourceJSON()));
}
// 短信签名资源
if (CollectionUtils.isNotEmpty(resourceQO.getSmsResourceJSON())) {
if (resourceQO.getSmsResourceJSON() != null) {
resourceDTO.setSmsSignResourceJson(JSON.toJSONString(resourceQO.getSmsResourceJSON()));
}
......
......@@ -66,7 +66,7 @@ public class ResourceQO implements Serializable {
private List<List<Long>> appResourceJSON;
private List<SmsSignResourceQO> smsResourceJSON;
private SmsSignResourceQO smsResourceJSON;
public Integer getResourceId() {
return resourceId;
......@@ -156,11 +156,11 @@ public class ResourceQO implements Serializable {
this.goodsResource = goodsResource;
}
public List<SmsSignResourceQO> getSmsResourceJSON() {
public SmsSignResourceQO getSmsResourceJSON() {
return smsResourceJSON;
}
public void setSmsResourceJSON(List<SmsSignResourceQO> smsResourceJSON) {
public void setSmsResourceJSON(SmsSignResourceQO smsResourceJSON) {
this.smsResourceJSON = smsResourceJSON;
}
}
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