From c92534229c83436ffe9e6752209200dd70b77808 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期四, 17 八月 2023 19:19:44 +0800
Subject: [PATCH] add
---
docs/swagger.yaml | 104 +++++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 82 insertions(+), 22 deletions(-)
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 1257ed5..2252a9b 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -1480,7 +1480,7 @@
sourceType:
allOf:
- $ref: '#/definitions/constvar.RefundSourceType'
- description: 鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級
+ description: 鏉ユ簮绫诲瀷锛�1閿�鍞��璐э級
type: object
model.SalesReturn:
properties:
@@ -1806,11 +1806,12 @@
problemDesc:
description: 闂鎻忚堪
type: string
- product:
- $ref: '#/definitions/model.Product'
- productId:
- description: 浜у搧id
- type: integer
+ productName:
+ description: 浜у搧鍚嶇О
+ type: string
+ productTypeName:
+ description: 浜у搧鍒嗙被鍚嶇О
+ type: string
realTime:
description: 瀹為檯澶勭悊鏃堕棿
type: string
@@ -2058,6 +2059,9 @@
type: integer
contact:
$ref: '#/definitions/request.Contact'
+ contact_id:
+ description: 鑱旂郴浜篒D
+ type: integer
country_id:
type: integer
detail_address:
@@ -2828,6 +2832,9 @@
type: integer
contact:
$ref: '#/definitions/request.Contact'
+ contact_id:
+ description: 鑱旂郴浜篒D
+ type: integer
country_id:
type: integer
detail_address:
@@ -2948,9 +2955,12 @@
problemDesc:
description: 闂鎻忚堪
type: string
- productId:
- description: 浜у搧id
- type: integer
+ productName:
+ description: 浜у搧鍚嶇О
+ type: string
+ productTypeName:
+ description: 浜у搧鍒嗙被鍚嶇О
+ type: string
realTime:
description: 瀹為檯澶勭悊鏃堕棿
type: string
@@ -3383,7 +3393,7 @@
description: '鎼滅储鏉′欢: map[string]interface{}{"name": "xxx"}; {"topic": "璺熻繘涓婚",
"member_name": "璺熻繘浜�", "client_name": "瀹㈡埛鍚嶇О", "client_status": "瀹㈡埛鐘舵��", "follow_time":
"璺熻繘鏃堕棿", "next_follow_time": "涓嬫璺熻繘鏃堕棿", "record": "璺熻繘璁板綍", "phone": "鑱旂郴浜虹數璇�",
- "contact_name": "鑱旂郴浜哄鍚�"}'
+ "contact_name": "鑱旂郴浜哄鍚�", "sales_leads_id": "閿�鍞嚎绱d", "sale_chance_id": "閿�鍞満浼歩d"}'
type: object
type: object
request.GetMasterOrderList:
@@ -3757,7 +3767,10 @@
sourceType:
allOf:
- $ref: '#/definitions/constvar.RefundSourceType'
- description: 鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級
+ description: 鏉ユ簮绫诲瀷锛�1閿�鍞��娆惧崟锛�
+ required:
+ - sourceId
+ - sourceType
type: object
request.SalesReturn:
properties:
@@ -3897,6 +3910,9 @@
type: integer
contact:
$ref: '#/definitions/request.Contact'
+ contact_id:
+ description: 鑱旂郴浜篒D
+ type: integer
country_id:
type: integer
detail_address:
@@ -5044,6 +5060,9 @@
type: integer
contact:
$ref: '#/definitions/request.Contact'
+ contact_id:
+ description: 鑱旂郴浜篒D
+ type: integer
country_id:
type: integer
detail_address:
@@ -5168,9 +5187,12 @@
problemDesc:
description: 闂鎻忚堪
type: string
- productId:
- description: 浜у搧id
- type: integer
+ productName:
+ description: 浜у搧鍚嶇О
+ type: string
+ productTypeName:
+ description: 浜у搧鍒嗙被鍚嶇О
+ type: string
realTime:
description: 瀹為檯澶勭悊鏃堕棿
type: string
@@ -10295,7 +10317,26 @@
$ref: '#/definitions/contextx.Response'
summary: 娣诲姞閿�鍞��娆�
tags:
- - SalesRefund
+ - 閿�鍞��娆惧崟
+ /api/salesRefund/delete:
+ delete:
+ parameters:
+ - description: 鍙傛暟
+ in: body
+ name: object
+ required: true
+ schema:
+ $ref: '#/definitions/request.CommonIds'
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: OK
+ schema:
+ $ref: '#/definitions/contextx.Response'
+ summary: 鎵归噺鍒犻櫎閿�鍞��娆惧崟
+ tags:
+ - 閿�鍞��娆惧崟
/api/salesRefund/delete/{id}:
delete:
parameters:
@@ -10313,7 +10354,7 @@
$ref: '#/definitions/contextx.Response'
summary: 鍒犻櫎閿�鍞��娆�
tags:
- - SalesRefund
+ - 閿�鍞��娆惧崟
/api/salesRefund/list:
post:
parameters:
@@ -10337,7 +10378,7 @@
type: object
summary: 閿�鍞��娆惧崟鍒楄〃
tags:
- - SalesRefund
+ - 閿�鍞��娆惧崟
/api/salesRefund/update:
put:
parameters:
@@ -10356,7 +10397,7 @@
$ref: '#/definitions/contextx.Response'
summary: 鏇存柊閿�鍞��娆�
tags:
- - SalesRefund
+ - 閿�鍞��娆惧崟
/api/salesReturn/add:
post:
parameters:
@@ -10375,7 +10416,26 @@
$ref: '#/definitions/contextx.Response'
summary: 娣诲姞閿�鍞��璐�
tags:
- - SalesReturn
+ - 閿�鍞��璐у崟
+ /api/salesReturn/delete:
+ delete:
+ parameters:
+ - description: 鍙傛暟
+ in: body
+ name: object
+ required: true
+ schema:
+ $ref: '#/definitions/request.CommonIds'
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: OK
+ schema:
+ $ref: '#/definitions/contextx.Response'
+ summary: 鎵归噺鍒犻櫎閿�鍞��璐у崟
+ tags:
+ - 閿�鍞��璐у崟
/api/salesReturn/delete/{id}:
delete:
parameters:
@@ -10393,7 +10453,7 @@
$ref: '#/definitions/contextx.Response'
summary: 鍒犻櫎閿�鍞��璐�
tags:
- - SalesReturn
+ - 閿�鍞��璐у崟
/api/salesReturn/list:
post:
parameters:
@@ -10417,7 +10477,7 @@
type: object
summary: 閿�鍞��璐у崟鍒楄〃
tags:
- - SalesReturn
+ - 閿�鍞��璐у崟
/api/salesReturn/update:
put:
parameters:
@@ -10436,7 +10496,7 @@
$ref: '#/definitions/contextx.Response'
summary: 鏇存柊閿�鍞��璐�
tags:
- - SalesReturn
+ - 閿�鍞��璐у崟
/api/salesReturnStatus/add:
post:
parameters:
--
Gitblit v1.8.0