|
@@ -12,15 +12,13 @@ router.get('/cloud/curing/edition', function(req, res, next) {
|
|
|
|
|
|
|
|
|
|
|
|
- //测试�务器
|
|
|
+ //测试�务�
|
|
|
//global.CLOUDURL= ="https://yhuat.smartcost.com.cn/cld";
|
|
|
- //æ£å¼�æœ�务器
|
|
|
+ //æ£å¼�æœ�务å™?
|
|
|
//global.CLOUDURL= ='https://yhyun.smartcost.com.cn/cld';
|
|
|
- //本地跑
|
|
|
+ //本地�
|
|
|
setCloudUrl("http://qa.smartcost.com.cn:2060/cld");
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
cloudController.curingEdition(req, res);
|
|
|
});
|
|
|
/**
|
|
@@ -28,11 +26,12 @@ router.get('/cloud/curing/edition', function(req, res, next) {
|
|
|
*/
|
|
|
router.get('/cloud/building/edition', function(req, res, next) {
|
|
|
|
|
|
- //测试�务器
|
|
|
+ //测试�务�
|
|
|
+ //setCloudUrl("https://yhuat.smartcost.com.cn/cld");
|
|
|
//global.CLOUDURL= ="https://yhuat.smartcost.com.cn/cld";
|
|
|
- //æ£å¼�æœ�务器
|
|
|
+ //æ£å¼�æœ�务å™?
|
|
|
//global.CLOUDURL= ='https://yhyun.smartcost.com.cn/cld';
|
|
|
- //本地跑
|
|
|
+ //本地�
|
|
|
setCloudUrl("http://qa.smartcost.com.cn:6060/cld");
|
|
|
|
|
|
cloudController.curingEdition(req, res);
|
|
@@ -45,5 +44,7 @@ module.exports = router;
|
|
|
* 设置云版接�地�
|
|
|
*/
|
|
|
function setCloudUrl(url){
|
|
|
- global.CLOUDURL =url;
|
|
|
+
|
|
|
+ GCLOUDURL =url;
|
|
|
+
|
|
|
}
|