...
|
...
|
@@ -15,14 +15,17 @@ exports.res = [ |
|
|
gridurl:'/limit/code/ajax/index'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
{//查看列表【列表能够正常查看】
|
|
|
route: '/limit/code/ajax/index',
|
|
|
method: 'POST',
|
|
|
url: '/limitCode/getLimitCodeList',
|
|
|
isJsonRaw:true,
|
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'}
|
|
|
{name: 'size', type: 'Number'},
|
|
|
{name: 'batchNo', type: 'String'},
|
|
|
{name: 'name', type: 'String'},
|
|
|
{name: 'reqDepartment', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
{
|
...
|
...
|
@@ -38,10 +41,11 @@ exports.res = [ |
|
|
}
|
|
|
},
|
|
|
src:'/limitcode/edit'
|
|
|
},{
|
|
|
},{//添加限购码【验证成功】
|
|
|
route:'/limit/code/ajax/add',
|
|
|
method:'POST',
|
|
|
url:'/limitCode/addLimitCode',
|
|
|
isJsonRaw: true,
|
|
|
params:[
|
|
|
{name:"name",type:"String"},
|
|
|
{name:"limitTimes",type:"Number"},
|
...
|
...
|
@@ -51,7 +55,7 @@ exports.res = [ |
|
|
{name:"describe",type:"String"},
|
|
|
{name:"userUseLimit",type:"Number"},
|
|
|
{name:"userTypeLimit",type:"Number"},
|
|
|
//{name:"limitSkn",type:"String"},
|
|
|
{name:"limitSkn",type:"String"},
|
|
|
{name:"creatorName",type:"String"},
|
|
|
{name:"creatorId",type:"Number"},
|
|
|
{name:"status",type:"Number"}
|
...
|
...
|
@@ -66,9 +70,47 @@ exports.res = [ |
|
|
params: [
|
|
|
{name: 'id',type: 'String'}
|
|
|
]
|
|
|
},{//审核限购码接口
|
|
|
route: '/limit/code/auditLimitCode',
|
|
|
}
|
|
|
,{//修改优惠码页面
|
|
|
route:'/limit/code/update/:id',
|
|
|
method: 'GET',
|
|
|
view: 'pages/limitcode/edit',
|
|
|
url:"/limitCode/getLimitCode",
|
|
|
src:'/limitcode/edit',
|
|
|
isJsonRaw: true,
|
|
|
data: {
|
|
|
action:"/limit/code/ajax/update",
|
|
|
type:"update",
|
|
|
},
|
|
|
params: [
|
|
|
{name: 'id',type: 'String'}
|
|
|
]
|
|
|
}
|
|
|
,{
|
|
|
//更新限购码接口
|
|
|
route:'/limit/code/ajax/update',
|
|
|
method:'POST',
|
|
|
url:'/limitCode/updateLimitCode',
|
|
|
isJsonRaw: true,
|
|
|
params:[
|
|
|
{name:"name",type:"String"},
|
|
|
{name:"limitTimes",type:"Number"},
|
|
|
{name:"reqDepartment",type:"String"},
|
|
|
{name:"limitDateFrom",type:"String"},
|
|
|
{name:"limitDateTo",type:"String"},
|
|
|
{name:"describe",type:"String"},
|
|
|
{name:"userUseLimit",type:"Number"},
|
|
|
{name:"userTypeLimit",type:"Number"},
|
|
|
{name:"limitSkn",type:"String"},
|
|
|
{name:"creatorName",type:"String"},
|
|
|
{name:"creatorId",type:"Number"},
|
|
|
{name:"status",type:"Number"},
|
|
|
{name:"id",type:"Number"}
|
|
|
]
|
|
|
}
|
|
|
,{//修改限购码接口状态[待验证]
|
|
|
route: '/limit/code/auditLimitCode',
|
|
|
method: 'POST',
|
|
|
view: 'pages/limitcode/info',
|
|
|
url:"/limitCode/auditLimitCode",
|
|
|
isJsonRaw: true,
|
...
|
...
|
|