添加招标信息,修改小程序用户登录商品列表
This commit is contained in:
28
controllers/bidding.go
Normal file
28
controllers/bidding.go
Normal 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
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user