Commit 8d307e34 by 陶光胜

修改

parent 9f3acc2a
......@@ -80,7 +80,7 @@ public class StoreController {
@RequestMapping("save-store-widget")
public RestResponse saveStoreWidget(@RequestBody StoreWidgetQO storeWidgetQO){
StoreWidgetDTO storeWidgetDTO = new StoreWidgetDTO();
storeWidgetDTO.setAuthMode(storeWidgetQO.getAuthMode());
storeWidgetDTO.setAuthSearchParam(storeWidgetQO.getAuthSearchParam());
storeWidgetDTO.setSearchParam(storeWidgetQO.getSearchParam());
storeWidgetDTO.setStoreWidgetId(storeWidgetQO.getStoreWidgetId());
storeWidgetDTO.setWriteBackParam(storeWidgetQO.getWriteBackParam());
......@@ -90,4 +90,10 @@ public class StoreController {
}
return RestResponse.success();
}
@RequestMapping("get-store-widget")
public RestResponse getStoreWidget(Integer storeWidgetId){
ServiceResponse<StoreWidgetDTO> response = this.storeWidgetApiService.getStoreWidget(storeWidgetId);
return RestResponse.success(response.getResult());
}
}
......@@ -4,7 +4,7 @@ import java.io.Serializable;
public class StoreWidgetQO implements Serializable {
private Integer storeWidgetId;
private Integer authMode;
private String authSearchParam;
private String searchParam;
private String writeBackParam;
......@@ -16,12 +16,12 @@ public class StoreWidgetQO implements Serializable {
this.storeWidgetId = storeWidgetId;
}
public Integer getAuthMode() {
return authMode;
public String getAuthSearchParam() {
return authSearchParam;
}
public void setAuthMode(Integer authMode) {
this.authMode = authMode;
public void setAuthSearchParam(String authSearchParam) {
this.authSearchParam = authSearchParam;
}
public String getSearchParam() {
......
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