27 lines
663 B
JavaScript
27 lines
663 B
JavaScript
'use strict';
|
|
|
|
const OrderBaseService = require('./base');
|
|
|
|
class ExpectionOrderService extends OrderBaseService {
|
|
constructor(ctx) {
|
|
super(ctx);
|
|
const _noNeedLogin = '';
|
|
const _noNeedRight = 'list,expectionOrder';
|
|
const _noNeedLog = 'list';
|
|
const _noNeedAuth = 'list,expectionOrder';
|
|
this.systemInit(_noNeedLogin, _noNeedRight, _noNeedLog, _noNeedAuth);
|
|
}
|
|
|
|
/**
|
|
* 待处理异常订单列表。
|
|
* @param {Object} data 请求体。
|
|
* @return {Promise<Object>} 列表与分页信息。
|
|
*/
|
|
async list(data = {}) {
|
|
return await this.listByModule('expectionOrder', data);
|
|
}
|
|
|
|
}
|
|
|
|
module.exports = ExpectionOrderService;
|