fix
fix salesReturn router bug
| | |
| | | // @Produce application/json |
| | | // @Param object body request.UpdateSalesReturnRequest true "查询参数" |
| | | // @Success 200 {object} contextx.Response{} |
| | | // @Router /api/salesReturn/update/{id} [put] |
| | | // @Router /api/salesReturn/update [put] |
| | | func (s *SalesReturnApi) Update(c *gin.Context) { |
| | | var params request.UpdateSalesReturnRequest |
| | | ctx, ok := contextx.NewContext(c, ¶ms) |
| | |
| | | } |
| | | |
| | | type UpdateSalesReturnRequest struct { |
| | | Id int `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"` |
| | | SalesReturn |
| | | Id int `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"` |
| | | SalesReturn SalesReturn |
| | | } |