|
|
|
@ -391,9 +391,9 @@ public class ManageAppServiceImp implements ManageAppService {
|
|
|
|
|
JSONObject manager = managerMapper.findById(device.getString("manager_id"));
|
|
|
|
|
JSONObject result = new JSONObject();
|
|
|
|
|
if (manager.getIntValue("org_id") == 1) {
|
|
|
|
|
result.put("url", "http://192.168.0.49:9002/app/rules/bd");
|
|
|
|
|
result.put("url", "https://mpay.royalpay.com.au/app/rules/bd");
|
|
|
|
|
} else {
|
|
|
|
|
result.put("url", "http://192.168.0.49:9002/app/rules/org");
|
|
|
|
|
result.put("url", "https://mpay.royalpay.com.au/app/rules/org");
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|