meterGoods.js 769 Bytes
/**
 * Created by JiangMin on 2016/3/22.
 * 测量商品列表
 */
//exports.domain = require('../config/common.js').domain;
//exports.domain = 'http://172.16.6.162:8080/platform'; //李建
exports.domain = 'http://192.168.102.216:8180/platform'; //测试环境

exports.res = [

    //主界面
    {
        route: '/meterManage/meterGoods/index',//访问路由
        method: 'GET',//方法
        view: 'pages/meterManage/meterGoods',//视图
        src: '/meterManage/meterGoods'//控制层
    },
    //api请求数据
    {
        route: '/meterGoods/meterGoods/index1',
        method: 'POST',
        //url: '/model/queryModelList',
        params: [
            {name: 'page', type: 'Number'},
            {name: 'size', type: 'Number'}
        ]
    }
];