2026-04-09 01:36:49 +08:00

36 lines
728 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'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;