'use strict'; const MainService = require('../../main'); /** * 系统方法层:storage.delivery(已废弃)。 */ class StorageDeliveryService extends MainService { constructor(ctx) { super(ctx); const _noNeedLogin = ''; const _noNeedRight = ''; const _noNeedLog = ''; const _noNeedAuth = ''; this.systemInit(_noNeedLogin, _noNeedRight, _noNeedLog, _noNeedAuth); } buildRemovedResponse() { return this.fail('方法已移除', { code: 410 }); } async list() { return this.buildRemovedResponse(); } async toOrder() { return this.buildRemovedResponse(); } async listItems() { return this.buildRemovedResponse(); } } module.exports = StorageDeliveryService;