|
@@ -20,6 +20,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import com.lemon.lifecenter.scheduler.common.PropertyUtil;
|
|
|
import com.lemon.lifecenter.scheduler.common.PushUtils;
|
|
|
import com.lemon.lifecenter.scheduler.dto.DeviceInfoDTO;
|
|
|
import com.lemon.lifecenter.scheduler.dto.PushResultDTO;
|
|
@@ -206,7 +207,7 @@ public class PushController {
|
|
|
int tableCount = 0;
|
|
|
|
|
|
// String durl = "jdbc:log4jdbc:cubrid:118.67.133.187:30000:LIFE_CENTER:::?charset=UTF-8";
|
|
|
- String durl = "jdbc:cubrid:10.175.153.104:30000:LIFE_CENTER:::?altHosts=10.175.153.105:30000&charset=UTF-8";
|
|
|
+ String durl = PropertyUtil.getProperty("spring.datasource.url");
|
|
|
String user = "dba";
|
|
|
String passwd = "#zo240s!";
|
|
|
|