+ cms/SendMsg2Somebody
This commit is contained in:
@@ -200,3 +200,18 @@ func (c *CmsController) FakeNewOrder() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 发送消息给相关人员
|
||||
// @Description 发送消息给相关人员
|
||||
// @Param token header string true "认证token"
|
||||
// @Param msgType formData string true "消息类型"
|
||||
// @Param msgContent formData string true "消息内容"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /SendMsg2Somebody [post]
|
||||
func (c *CmsController) SendMsg2Somebody() {
|
||||
c.callSendMsg2Somebody(func(params *tCmsSendMsg2SomebodyParams) (retVal interface{}, errCode string, err error) {
|
||||
err = cms.SendMsg2Somebody(params.Ctx, params.MsgType, params.MsgContent)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user