Commit 6f84d061 by cwq0219

删除is_new

1 parent d790d567
/*
* @Author: huyue
* @Date: 2020-06-15 10:57:33
* @Last Modified by: huyue
* @Last Modified time: 2020-06-16 15:36:30
* @Last Modified by: chenwq
* @Last Modified time: 2020-09-08 15:02:51
*/
const Service = require("egg").Service;
......@@ -54,9 +54,7 @@ class CluesService extends Service {
col,
literal
} = this.app.Sequelize
let where = {
// is_new: 1
};
let where = { };
if (bizType) {
where.biz_type = bizType
}
......
/*
* @Author: limin
* @Date: 2019-11-21 11:18:37
* @Last Modified by: limin
* @Last Modified time: 2020-04-20 13:54:35
* @Last Modified by: chenwq
* @Last Modified time: 2020-09-08 15:02:37
*/
const Service = require("egg").Service;
......@@ -46,7 +46,7 @@ class LossService extends Service {
} = searcher;
const offset = (current - 1) * size;
const { Op, col, literal } = this.app.Sequelize;
let where = { is_new: 1 };
let where = { };
if (searchValue) {
const __like = `%${searchValue}%`;
where = {
......
/*
* @Author: limin
* @Date: 2019-11-21 11:18:37
* @Last Modified by: limin
* @Last Modified time: 2020-04-20 13:54:35
* @Last Modified by: chenwq
* @Last Modified time: 2020-09-08 15:02:44
*/
const Service = require("egg").Service;
......@@ -57,7 +57,7 @@ class ShopService extends Service {
Op,
literal
} = this.app.Sequelize;
let where = { is_new: 1 };
let where = { };
if (searchValue) {
const __like = `%${searchValue}%`;
where = {
......
......@@ -2,7 +2,7 @@
* @Author: limin
* @Date: 2019-11-16 09:26:53
* @Last Modified by: chenwq
* @Last Modified time: 2020-06-18 14:13:05
* @Last Modified time: 2020-09-01 15:36:55
*/
/* eslint valid-jsdoc: "off" */
......@@ -89,6 +89,13 @@ module.exports = app => {
db: 0
}
};
// 改变请求ip
// config.cluster = {
// listen: {
// port: 8000,
// hostname: '192.168.2.201'
// }
// };
config.validate = {
// convert: false,
// validateRoot: false,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!