|
@@ -109,9 +109,9 @@ class GoodsService extends CrudService {
|
|
|
}
|
|
|
|
|
|
async indexActTagsGoods() {
|
|
|
- const dictData = await this.ctx.model.Dev.DictData.find({ code: 'act_tags' });
|
|
|
+ const list = await this.ctx.model.System.ActTags.find({ status: '0' }).sort({ sort: 1 });
|
|
|
const result = [];
|
|
|
- for (const t of dictData) {
|
|
|
+ for (const t of list) {
|
|
|
const { label, value } = t;
|
|
|
const list = await this.searchActTagsGoods(value);
|
|
|
const arr = [];
|