- QueryActs中createdAtFrom改为可选参数,但dao.QueryActs中限制actID, createdAtFrom与beginAt至少要指定其中一个条件

This commit is contained in:
gazebo
2019-07-10 10:24:44 +08:00
parent 88d965962a
commit e664f6312b
2 changed files with 4 additions and 1 deletions

View File

@@ -114,7 +114,7 @@ func (c *ActController) CreateAct() {
// @Title 查询活动
// @Description 查询活动
// @Param token header string true "认证token"
// @Param createdAtFrom query string true "创建开始日期"
// @Param createdAtFrom query string false "创建开始日期"
// @Param createdAtTo query string false "创建结束日期"
// @Param keyword query string false "关键字"
// @Param actID query int false "活动id"