From 6f52e069fe72b4e37b0712a7e097e3af97bbc25e Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 07 八月 2023 10:22:11 +0800
Subject: [PATCH] 收款计划兼容其他模块

---
 docs/docs.go | 1103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 1,089 insertions(+), 14 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 1c6480c..4364ed1 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -241,6 +241,169 @@
                 }
             }
         },
+        "/api/bankAccount/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閾惰璐︽埛绠$悊"
+                ],
+                "summary": "娣诲姞閾惰璐︽埛",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddBankAccount"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/bankAccount/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閾惰璐︽埛绠$悊"
+                ],
+                "summary": "鍒犻櫎閾惰璐︽埛",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/bankAccount/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閾惰璐︽埛绠$悊"
+                ],
+                "summary": "鑾峰彇閾惰璐︽埛鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "BankAccountKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "BankAccountQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.BankAccount"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/bankAccount/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閾惰璐︽埛绠$悊"
+                ],
+                "summary": "鏇存柊閾惰璐︽埛",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateBankAccount"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/base/captcha": {
             "post": {
                 "produces": [
@@ -2329,6 +2492,169 @@
                 }
             }
         },
+        "/api/file/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "闄勪欢绠$悊"
+                ],
+                "summary": "娣诲姞闄勪欢",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddFile"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/file/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "闄勪欢绠$悊"
+                ],
+                "summary": "鍒犻櫎闄勪欢",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/file/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "闄勪欢绠$悊"
+                ],
+                "summary": "鑾峰彇闄勪欢鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "FileKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "FileQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.File"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/file/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "闄勪欢绠$悊"
+                ],
+                "summary": "鏇存柊闄勪欢",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateFile"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/followRecord/add": {
             "post": {
                 "produces": [
@@ -3271,6 +3597,169 @@
                 }
             }
         },
+        "/api/paymentType/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏀粯鏂瑰紡绠$悊"
+                ],
+                "summary": "娣诲姞鏀粯鏂瑰紡",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddPaymentType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/paymentType/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏀粯鏂瑰紡绠$悊"
+                ],
+                "summary": "鍒犻櫎鏀粯鏂瑰紡",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/paymentType/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏀粯鏂瑰紡绠$悊"
+                ],
+                "summary": "鑾峰彇鏀粯鏂瑰紡鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "PaymentTypeKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "PaymentTypeQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.PaymentType"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/paymentType/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏀粯鏂瑰紡绠$悊"
+                ],
+                "summary": "鏇存柊鏀粯鏂瑰紡",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdatePaymentType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/plan/add": {
             "post": {
                 "produces": [
@@ -4036,6 +4525,169 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateQuotationStatuss"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/receipt/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏀舵鍗曠鐞�"
+                ],
+                "summary": "娣诲姞鏀舵鍗�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddReceipt"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/receipt/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏀舵鍗曠鐞�"
+                ],
+                "summary": "鍒犻櫎鏀舵鍗�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/receipt/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏀舵鍗曠鐞�"
+                ],
+                "summary": "鑾峰彇鏀舵鍗曞垪琛�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "ReceiptKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "ReceiptQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.Receipt"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/receipt/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鏀舵鍗曠鐞�"
+                ],
+                "summary": "鏇存柊鏀舵鍗�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateReceipt"
                         }
                     }
                 ],
@@ -6041,9 +6693,9 @@
                     "application/json"
                 ],
                 "tags": [
-                    "鏈嶅姟鍚堝悓鏀舵璁″垝绠$悊"
+                    "鏀舵璁″垝绠$悊"
                 ],
-                "summary": "娣诲姞鏈嶅姟鍚堝悓鏀舵璁″垝",
+                "summary": "娣诲姞鏀舵璁″垝",
                 "parameters": [
                     {
                         "description": "鏌ヨ鍙傛暟",
@@ -6071,9 +6723,9 @@
                     "application/json"
                 ],
                 "tags": [
-                    "鏈嶅姟鍚堝悓鏀舵璁″垝绠$悊"
+                    "鏀舵璁″垝绠$悊"
                 ],
-                "summary": "鍒犻櫎鏈嶅姟鍚堝悓鏀舵璁″垝",
+                "summary": "鍒犻櫎鏀舵璁″垝",
                 "parameters": [
                     {
                         "type": "integer",
@@ -6099,9 +6751,9 @@
                     "application/json"
                 ],
                 "tags": [
-                    "鏈嶅姟鍚堝悓鏀舵璁″垝绠$悊"
+                    "鏀舵璁″垝绠$悊"
                 ],
-                "summary": "鑾峰彇鏈嶅姟鍚堝悓鏀舵璁″垝鍒楄〃",
+                "summary": "鑾峰彇鏀舵璁″垝鍒楄〃",
                 "parameters": [
                     {
                         "type": "integer",
@@ -6141,9 +6793,9 @@
                     "application/json"
                 ],
                 "tags": [
-                    "鏈嶅姟鍚堝悓鏀舵璁″垝绠$悊"
+                    "鏀舵璁″垝绠$悊"
                 ],
-                "summary": "鏇存柊鏈嶅姟鍚堝悓鏀舵璁″垝",
+                "summary": "鏇存柊鏀舵璁″垝",
                 "parameters": [
                     {
                         "description": "鏌ヨ鍙傛暟",
@@ -8071,6 +8723,24 @@
         }
     },
     "definitions": {
+        "constvar.BankAccountKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "BankAccountKeywordCustomerName"
+            ]
+        },
+        "constvar.BankAccountQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "BankAccountQueryClassExpireLessThen60Days"
+            ]
+        },
         "constvar.FaqKeywordType": {
             "type": "string",
             "enum": [
@@ -8087,6 +8757,60 @@
             ],
             "x-enum-varnames": [
                 "FaqQueryClassExpireLessThen60Days"
+            ]
+        },
+        "constvar.FileKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "FileKeywordCustomerName"
+            ]
+        },
+        "constvar.FileQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "FileQueryClassExpireLessThen60Days"
+            ]
+        },
+        "constvar.PaymentTypeKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "PaymentTypeKeywordCustomerName"
+            ]
+        },
+        "constvar.PaymentTypeQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "PaymentTypeQueryClassExpireLessThen60Days"
+            ]
+        },
+        "constvar.ReceiptKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "ReceiptKeywordCustomerName"
+            ]
+        },
+        "constvar.ReceiptQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "ReceiptQueryClassExpireLessThen60Days"
             ]
         },
         "constvar.SalesStatus": {
@@ -8281,6 +9005,17 @@
                     "items": {
                         "$ref": "#/definitions/model.Menu"
                     }
+                }
+            }
+        },
+        "model.BankAccount": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -8747,6 +9482,64 @@
                 }
             }
         },
+        "model.File": {
+            "type": "object",
+            "properties": {
+                "bucket": {
+                    "description": "瀵硅薄瀛樺偍bucket",
+                    "type": "string"
+                },
+                "content": {
+                    "description": "鏂囦欢鍐呭",
+                    "type": "string"
+                },
+                "createTime": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
+                "downloadCount": {
+                    "description": "涓嬫娆℃暟",
+                    "type": "integer"
+                },
+                "filePath": {
+                    "description": "鏂囦欢璺緞",
+                    "type": "string"
+                },
+                "fileType": {
+                    "description": "鏂囦欢绫诲瀷",
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "key": {
+                    "description": "瀵硅薄瀛樺偍key",
+                    "type": "string"
+                },
+                "name": {
+                    "type": "string"
+                },
+                "previewCount": {
+                    "description": "棰勮娆℃暟",
+                    "type": "integer"
+                },
+                "size": {
+                    "description": "鏂囦欢澶у皬",
+                    "type": "integer"
+                },
+                "sourceId": {
+                    "description": "鏉ユ簮id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "闄勪欢鏉ユ簮",
+                    "type": "string"
+                },
+                "updateTime": {
+                    "type": "string"
+                }
+            }
+        },
         "model.FollowRecord": {
             "type": "object",
             "properties": {
@@ -8941,6 +9734,17 @@
                 }
             }
         },
+        "model.PaymentType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.Plan": {
             "type": "object",
             "properties": {
@@ -9099,6 +9903,54 @@
                 },
                 "name": {
                     "type": "string"
+                }
+            }
+        },
+        "model.Receipt": {
+            "type": "object",
+            "properties": {
+                "bankAccountId": {
+                    "description": "璐︽埛id",
+                    "type": "integer"
+                },
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
+                "fileId": {
+                    "description": "闄勪欢id",
+                    "type": "integer"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "moneyType": {
+                    "description": "甯佺",
+                    "type": "string"
+                },
+                "paymentTypeId": {
+                    "description": "鏀舵鏂瑰紡ID",
+                    "type": "integer"
+                },
+                "principalId": {
+                    "description": "璐熻矗浜篿d",
+                    "type": "integer"
+                },
+                "receiptDate": {
+                    "description": "鏀舵鏃ユ湡",
+                    "type": "string"
+                },
+                "remark": {
+                    "description": "澶囨敞",
+                    "type": "string"
+                },
+                "sourceId": {
+                    "description": "婧愬崟id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+                    "type": "integer"
                 }
             }
         },
@@ -9584,7 +10436,7 @@
                     "description": "姣斾緥",
                     "type": "number"
                 },
-                "principal": {
+                "principalId": {
                     "description": "鏀舵璐熻矗浜篒D",
                     "type": "integer"
                 },
@@ -9592,8 +10444,12 @@
                     "description": "澶囨敞",
                     "type": "string"
                 },
-                "serviceContractId": {
-                    "description": "鏈嶅姟鍚堝悓id",
+                "sourceId": {
+                    "description": "婧愬崟id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級",
                     "type": "integer"
                 },
                 "status": {
@@ -10082,6 +10938,17 @@
                 }
             }
         },
+        "request.AddBankAccount": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddCity": {
             "type": "object",
             "properties": {
@@ -10407,6 +11274,23 @@
                 }
             }
         },
+        "request.AddFile": {
+            "type": "object",
+            "required": [
+                "sourceId",
+                "sourceType"
+            ],
+            "properties": {
+                "sourceId": {
+                    "description": "鏉ユ簮id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "闄勪欢鏉ユ簮",
+                    "type": "string"
+                }
+            }
+        },
         "request.AddFollowRecord": {
             "type": "object",
             "required": [
@@ -10517,6 +11401,17 @@
                 }
             }
         },
+        "request.AddPaymentType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddPlan": {
             "type": "object",
             "properties": {
@@ -10596,6 +11491,54 @@
             "properties": {
                 "name": {
                     "type": "string"
+                }
+            }
+        },
+        "request.AddReceipt": {
+            "type": "object",
+            "properties": {
+                "bankAccountId": {
+                    "description": "璐︽埛id",
+                    "type": "integer"
+                },
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
+                "fileId": {
+                    "description": "闄勪欢id",
+                    "type": "integer"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "moneyType": {
+                    "description": "甯佺",
+                    "type": "string"
+                },
+                "paymentTypeId": {
+                    "description": "鏀舵鏂瑰紡ID",
+                    "type": "integer"
+                },
+                "principalId": {
+                    "description": "璐熻矗浜篿d",
+                    "type": "integer"
+                },
+                "receiptDate": {
+                    "description": "鏀舵鏃ユ湡",
+                    "type": "string"
+                },
+                "remark": {
+                    "description": "澶囨敞",
+                    "type": "string"
+                },
+                "sourceId": {
+                    "description": "婧愬崟id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+                    "type": "integer"
                 }
             }
         },
@@ -12208,6 +13151,17 @@
                 }
             }
         },
+        "request.UpdateBankAccount": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.UpdateCities": {
             "type": "object",
             "properties": {
@@ -12708,6 +13662,64 @@
                 }
             }
         },
+        "request.UpdateFile": {
+            "type": "object",
+            "properties": {
+                "bucket": {
+                    "description": "瀵硅薄瀛樺偍bucket",
+                    "type": "string"
+                },
+                "content": {
+                    "description": "鏂囦欢鍐呭",
+                    "type": "string"
+                },
+                "createTime": {
+                    "description": "鍒涘缓鏃堕棿",
+                    "type": "string"
+                },
+                "downloadCount": {
+                    "description": "涓嬫娆℃暟",
+                    "type": "integer"
+                },
+                "filePath": {
+                    "description": "鏂囦欢璺緞",
+                    "type": "string"
+                },
+                "fileType": {
+                    "description": "鏂囦欢绫诲瀷",
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "key": {
+                    "description": "瀵硅薄瀛樺偍key",
+                    "type": "string"
+                },
+                "name": {
+                    "type": "string"
+                },
+                "previewCount": {
+                    "description": "棰勮娆℃暟",
+                    "type": "integer"
+                },
+                "size": {
+                    "description": "鏂囦欢澶у皬",
+                    "type": "integer"
+                },
+                "sourceId": {
+                    "description": "鏉ユ簮id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "闄勪欢鏉ユ簮",
+                    "type": "string"
+                },
+                "updateTime": {
+                    "type": "string"
+                }
+            }
+        },
         "request.UpdateFollowRecord": {
             "type": "object",
             "required": [
@@ -12899,6 +13911,17 @@
                 }
             }
         },
+        "request.UpdatePaymentType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.UpdatePlan": {
             "type": "object",
             "properties": {
@@ -13036,6 +14059,54 @@
                     "items": {
                         "$ref": "#/definitions/request.UpdateQuotationStatus"
                     }
+                }
+            }
+        },
+        "request.UpdateReceipt": {
+            "type": "object",
+            "properties": {
+                "bankAccountId": {
+                    "description": "璐︽埛id",
+                    "type": "integer"
+                },
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
+                "fileId": {
+                    "description": "闄勪欢id",
+                    "type": "integer"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "moneyType": {
+                    "description": "甯佺",
+                    "type": "string"
+                },
+                "paymentTypeId": {
+                    "description": "鏀舵鏂瑰紡ID",
+                    "type": "integer"
+                },
+                "principalId": {
+                    "description": "璐熻矗浜篿d",
+                    "type": "integer"
+                },
+                "receiptDate": {
+                    "description": "鏀舵鏃ユ湡",
+                    "type": "string"
+                },
+                "remark": {
+                    "description": "澶囨敞",
+                    "type": "string"
+                },
+                "sourceId": {
+                    "description": "婧愬崟id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級",
+                    "type": "integer"
                 }
             }
         },
@@ -13573,7 +14644,7 @@
                     "description": "姣斾緥",
                     "type": "number"
                 },
-                "principal": {
+                "principalId": {
                     "description": "鏀舵璐熻矗浜篒D",
                     "type": "integer"
                 },
@@ -13581,8 +14652,12 @@
                     "description": "澶囨敞",
                     "type": "string"
                 },
-                "serviceContractId": {
-                    "description": "鏈嶅姟鍚堝悓id",
+                "sourceId": {
+                    "description": "婧愬崟id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級",
                     "type": "integer"
                 },
                 "status": {

--
Gitblit v1.8.0