|
@@ -59,32 +59,4 @@ turnDateRangeQuery(filter){
|
|
|
|
|
|
### 如果以上两个查询都添加,则在查询前(find())直接使用下面的代码
|
|
### 如果以上两个查询都添加,则在查询前(find())直接使用下面的代码
|
|
>```filter = this.turnFilter(this.turnDateRangeQuery(filter));```
|
|
>```filter = this.turnFilter(this.turnDateRangeQuery(filter));```
|
|
-## QuickStart
|
|
|
|
|
|
|
|
-<!-- add docs here for user -->
|
|
|
|
-
|
|
|
|
-see [egg docs][egg] for more detail.
|
|
|
|
-
|
|
|
|
-### Development
|
|
|
|
-
|
|
|
|
-```bash
|
|
|
|
-$ npm i
|
|
|
|
-$ npm run dev
|
|
|
|
-$ open http://localhost:8081/
|
|
|
|
-```
|
|
|
|
-
|
|
|
|
-### Deploy
|
|
|
|
-
|
|
|
|
-```bash
|
|
|
|
-$ npm start
|
|
|
|
-$ npm stop
|
|
|
|
-```
|
|
|
|
-
|
|
|
|
-### npm scripts
|
|
|
|
-
|
|
|
|
-- Use `npm run lint` to check code style.
|
|
|
|
-- Use `npm test` to run unit test.
|
|
|
|
-- Use `npm run autod` to auto detect dependencies upgrade, see [autod](https://www.npmjs.com/package/autod) for more detail.
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-[egg]: https://eggjs.org
|
|
|