@@ -10,7 +10,7 @@ class ConfigService extends CrudService {
super(ctx, 'config');
this.model = this.ctx.model.System.Config;
}
- async index() {
+ async query() {
const data = await this.model.findOne({});
return data;
@@ -178,6 +178,7 @@ class OrderDetailService extends CrudService {
status: 1,
no: 1,
group: 1,
+ address: 1,
goods: {
_id: 1,
sell_money: 1,