|
@@ -25,7 +25,6 @@ public class NetIPController {
|
|
|
private INetIPService netIPService;
|
|
|
|
|
|
@RequestMapping(value = "/updateNetIp",method = RequestMethod.POST)
|
|
|
-// public void updateIp(@RequestBody String data) throws UnsupportedEncodingException {
|
|
|
public void updateIp(@RequestParam(value = "data",required = true) String data) throws UnsupportedEncodingException, ParseException {
|
|
|
//--更新公网ip
|
|
|
netIPService.updateNetIP(data);
|