Authored by qinchao

线下店nginx切换

... ... @@ -70,9 +70,7 @@ public class StoreSwitchCtrl {
@RequestMapping(value = "switchStoreNginx")
@ResponseBody
public BaseResponse switchStoreNginx(String confContent) {
Map<String, String> map=new HashMap<>();
map.put("confContent",confContent);
return httpRestClient.defaultPost("/storeSwitch/switchStoreNginx",map,BaseResponse.class);
return httpRestClient.defaultPost("/storeSwitch/switchStoreNginx",confContent,BaseResponse.class);
}
}
... ...
... ... @@ -274,7 +274,6 @@
text: "再次确认",
className: "btn-success",
onclick: function () {
alert("开始切换");
$.ajax({
type: "post",
url: contextPath+"/storeSwitch/switchStoreNginx",
... ...