1.分页转化为配置的方法
start = Me.getParam(‘start’);
limit = Me.getParam(‘limit’);
var reg = new RegExp("1*$");
if (isNaN(start) || start < 0 || !reg.test(start)) {
return cbError(40003, Me.cb);
}
if (isNaN(limit) || limit <= 0 || !reg.test(limit)) {
return cbError(40003, Me.cb);
}
start = start * 1;
limit = limit * 1;
0-9 ↩︎