| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- /**
- * Created by MyPC on 2019/11/5.
- */
- var express = require('express');
- var router = express.Router();
- var cloudController=require('./controller/cloudEditionController');
- /**
- * 养护云版
- */
- 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);
- });
- /**
- * 大�空云计价
- */
- 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);
- });
- module.exports = router;
- /**
- * 设置云版接�地�
- */
- function setCloudUrl(url){
- GCLOUDURL =url;
- }
|