This commit is contained in:
苏尹岚
2021-02-23 10:28:20 +08:00
parent 7f94d2b48f
commit 78ae4f073d
2 changed files with 20 additions and 5 deletions

View File

@@ -1042,13 +1042,14 @@ func (c *StoreController) GetBrandStore() {
// @Title 商家确认参与活动
// @Description 商家确认参与活动
// @Param token header string false "认证token"
// @Param status formData int true "确认或取消确认1取消-1"
// @Param msgStatusID formData int true "消息状态ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /StoreConfirmAct [post]
func (c *StoreController) StoreConfirmAct() {
c.callStoreConfirmAct(func(params *tStoreStoreConfirmActParams) (retVal interface{}, errCode string, err error) {
err = cms.StoreConfirmAct(params.Ctx, params.MsgStatusID)
err = cms.StoreConfirmAct(params.Ctx, params.Status, params.MsgStatusID)
return retVal, "", err
})
}