Merge remote-tracking branch 'origin/mark' into lcw
This commit is contained in:
@@ -162,3 +162,20 @@ func (c *InitDataController) RefreshEbaiBadComment() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 测试打印
|
||||
// @Description 测试打印
|
||||
// @Param token header string true "认证token"
|
||||
// @Param vendorID formData int true "打印机厂商ID"
|
||||
// @Param id1 formData string true "id1"
|
||||
// @Param id2 formData string true "id2"
|
||||
// @Param msg formData string true "打印消息"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /PrintMsg [post]
|
||||
func (c *InitDataController) PrintMsg() {
|
||||
c.callPrintMsg(func(params *tInitdataPrintMsgParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = tempop.PrintMsg(params.Ctx, params.VendorID, params.Id1, params.Id2, params.Msg)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user