From 9b6770c4fea190574e3cf03b856d7af1db0e15aa Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 07 七月 2023 14:56:32 +0800
Subject: [PATCH] fix
---
api/v1/saleType.go | 46 +++++++++++++++++++++++-----------------------
1 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/api/v1/saleType.go b/api/v1/saleType.go
index 21fd66b..6f73ed7 100644
--- a/api/v1/saleType.go
+++ b/api/v1/saleType.go
@@ -14,12 +14,12 @@
// Add
//
-// @Tags SaleType
-// @Summary 娣诲姞閿�鍞被鍨�
-// @Produce application/json
-// @Param object body request.AddSaleType true "鏌ヨ鍙傛暟"
-// @Success 200 {object} contextx.Response{}
-// @Router /api/saleType/add [post]
+// @Tags SaleType
+// @Summary 娣诲姞閿�鍞被鍨�
+// @Produce application/json
+// @Param object body request.AddSaleType true "鏌ヨ鍙傛暟"
+// @Success 200 {object} contextx.Response{}
+// @Router /api/saleType/add [post]
func (s *SaleTypeApi) Add(c *gin.Context) {
var params request.AddSaleType
ctx, ok := contextx.NewContext(c, ¶ms)
@@ -41,12 +41,12 @@
// Delete
//
-// @Tags SaleType
-// @Summary 鍒犻櫎閿�鍞被鍨�
-// @Produce application/json
-// @Param id path int true "鏌ヨ鍙傛暟"
-// @Success 200 {object} contextx.Response{}
-// @Router /api/saleType/delete/{id} [delete]
+// @Tags SaleType
+// @Summary 鍒犻櫎閿�鍞被鍨�
+// @Produce application/json
+// @Param id path int true "鏌ヨ鍙傛暟"
+// @Success 200 {object} contextx.Response{}
+// @Router /api/saleType/delete/{id} [delete]
func (s *SaleTypeApi) Delete(c *gin.Context) {
ctx, ok := contextx.NewContext(c, nil)
if !ok {
@@ -65,12 +65,12 @@
// Update
//
-// @Tags SaleType
-// @Summary 鏇存柊閿�鍞被鍨�
-// @Produce application/json
-// @Param object body request.UpdateSaleTypes true "鏌ヨ鍙傛暟"
-// @Success 200 {object} contextx.Response{}
-// @Router /api/saleType/update [put]
+// @Tags SaleType
+// @Summary 鏇存柊閿�鍞被鍨�
+// @Produce application/json
+// @Param object body request.UpdateSaleTypes true "鏌ヨ鍙傛暟"
+// @Success 200 {object} contextx.Response{}
+// @Router /api/saleType/update [put]
func (s *SaleTypeApi) Update(c *gin.Context) {
var params request.UpdateSaleTypes
ctx, ok := contextx.NewContext(c, ¶ms)
@@ -89,11 +89,11 @@
// List
//
-// @Tags SaleType
-// @Summary 鑾峰彇閿�鍞被鍨嬪垪琛�
-// @Produce application/json
-// @Success 200 {object} contextx.Response{data=response.SaleTypeResponse}
-// @Router /api/saleType/list [get]
+// @Tags SaleType
+// @Summary 鑾峰彇閿�鍞被鍨嬪垪琛�
+// @Produce application/json
+// @Success 200 {object} contextx.Response{data=response.SaleTypeResponse}
+// @Router /api/saleType/list [get]
func (s *SaleTypeApi) List(c *gin.Context) {
ctx, ok := contextx.NewContext(c, nil)
if !ok {
--
Gitblit v1.8.0