From 115bd9b51f5d8eade4658f844de37516486c60e7 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期六, 18 十一月 2023 17:25:25 +0800 Subject: [PATCH] crm获取aps项目模块信息 --- 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