添加招标信息,修改小程序用户登录商品列表

This commit is contained in:
邹宗楠
2022-03-29 15:15:28 +08:00
parent e01f3ea1f2
commit b3c4348268
7 changed files with 91 additions and 2 deletions

28
controllers/bidding.go Normal file
View File

@@ -0,0 +1,28 @@
package controllers
import (
"git.rosy.net.cn/jx-callback/business/bidding"
"github.com/astaxie/beego/server/web"
)
type BiddingController struct {
web.Controller
}
// @Title 获取招标信息
// @Description 获取招标信息
// @Param token header string false "认证token"
// @Param title query string false "标题"
// @Param startTime query string false "开始时间"
// @Param endTime query string false "结束时间"
// @Param pageSize query int false "页数"
// @Param pageNumber query int false "页码"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetBiddingMsg [get]
func (c *BiddingController) GetBiddingMsg() {
c.callGetBiddingMsg(func(params *tBindGetBiddingMsgParams) (retVal interface{}, errCode string, err error) {
retVal, err = bidding.GetBiddingMsg(params.Ctx, params.MapData)
return retVal, "", err
})
}