|
@@ -358,6 +358,17 @@ public class EnvDeviceServiceImpl extends ServiceImpl<EnvDeviceMapper, EnvDevice
|
|
|
return new Result(10000,"同步成功",false);
|
|
|
}
|
|
|
|
|
|
+ public static void main(String[] args) {
|
|
|
+ Map<String, Object> map = new HashMap<String, Object>();
|
|
|
+ String s = null;
|
|
|
+ try {
|
|
|
+ s = HttpClientSSLUtils.doPost("https://yzwlw.loongk.com/mobile/login?username=华统&password=21218cca77804d2ba1922c33e0151105", JSON.toJSONString(map));
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ System.out.println("登录带栏舍:"+s);
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public Result bandingUnitId(HttpServletRequest httpServletRequest, EnvDevice envDevice) {
|
|
|
Integer unitId = envDevice.getUnitId();
|