|
@@ -65,7 +65,7 @@ class IndexService extends CrudService {
|
|
*/
|
|
*/
|
|
async product() {
|
|
async product() {
|
|
const categroy = await this.code.find({ category: '01' });
|
|
const categroy = await this.code.find({ category: '01' });
|
|
- const condition = { type: '1', status: '1' };
|
|
|
|
|
|
+ const condition = { type: '1', status: '2' };
|
|
const arr = [];
|
|
const arr = [];
|
|
for (const c of categroy) {
|
|
for (const c of categroy) {
|
|
const { name } = c;
|
|
const { name } = c;
|