12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- /**
- * Created by MyPC on 2019/11/5.
- */
- var express = require('express');
- var router = express.Router();
- var cloudAjaxController=require('./controller/cloudEditionAjaxController');
- router.get('/cloud/curing/ajax/curingInfo/:mobile', function(req, res, next) {
- cloudAjaxController.getCuringInfo(req, res);
- });
- router.get('/cloud/curing/ajax/getCuringByCompilationId/:compilation_id', function(req, res, next) {
- cloudAjaxController.getCuringByCompilationId(req, res);
- });
- router.get('/cloud/curing/ajax/getCuringByCompilationId', function(req, res, next) {
- cloudAjaxController.getCuringByCompilationId(req, res);
- });
- //养护分页
- router.get('/cloud/curing/ajax/getCuringPage/:currentPage', function(req, res, next) {
- cloudAjaxController.getCuringPage(req, res);
- });
- router.get('/cloud/curing/ajax/checkMobile/:mobile', function(req, res, next) {
- cloudAjaxController.checkMobile(req, res);
- });
- //根据通行证ID获得养护用户信息
- router.get('/cloud/curing/ajax/getCuringBySsoid', function(req, res, next) {
- cloudAjaxController.getCuringBySsoid(req, res);
- });
- //养护详情页 数据
- router.get('/cloud/curing/ajax/getCuringById/:sso_id', function(req, res, next) {
- cloudAjaxController.getCuringById(req, res);
- });
- //养护用写入CLD,并升级养护产品
- router.post('/cloud/curing/ajax/upCuringDo', function(req, res, next) {
- cloudAjaxController.upCuringDo(req, res);
- });
- //养护用户关联CLD客户
- router.post('/cloud/curing/ajax/relevanceClientDo', function(req, res, next) {
- cloudAjaxController.relevanceClientDo(req, res);
- });
- //养护用户移除CLD客户
- router.post('/cloud/curing/ajax/relieveClientDo', function(req, res, next) {
- cloudAjaxController.relieveClientDo(req, res);
- });
- module.exports = router;
|