From 3b474a056ea35196ce5d2a5f297eafa11295a95d Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期三, 22 十一月 2023 14:23:13 +0800
Subject: [PATCH] 添加登录功能

---
 docs/swagger.yaml | 4597 ++++++++++++-----------------------------------------------
 1 files changed, 946 insertions(+), 3,651 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 6f41570..4520db0 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -1,71 +1,4 @@
 definitions:
-  config.AliyunOSS:
-    properties:
-      access-key-id:
-        type: string
-      access-key-secret:
-        type: string
-      base-path:
-        type: string
-      bucket-name:
-        type: string
-      bucket-url:
-        type: string
-      endpoint:
-        type: string
-    type: object
-  config.Autocode:
-    properties:
-      root:
-        type: string
-      server:
-        type: string
-      server-api:
-        type: string
-      server-initialize:
-        type: string
-      server-model:
-        type: string
-      server-plug:
-        type: string
-      server-request:
-        type: string
-      server-router:
-        type: string
-      server-service:
-        type: string
-      transfer-restart:
-        type: boolean
-      web:
-        type: string
-      web-api:
-        type: string
-      web-form:
-        type: string
-      web-table:
-        type: string
-    type: object
-  config.AwsS3:
-    properties:
-      base-url:
-        type: string
-      bucket:
-        type: string
-      disable-ssl:
-        type: boolean
-      endpoint:
-        type: string
-      path-prefix:
-        type: string
-      region:
-        type: string
-      s3-force-path-style:
-        type: boolean
-      secret-id:
-        type: string
-      secret-key:
-        type: string
-    type: object
   config.CORS:
     properties:
       mode:
@@ -86,78 +19,6 @@
       allow-origin:
         type: string
       expose-headers:
-        type: string
-    type: object
-  config.Captcha:
-    properties:
-      img-height:
-        description: 楠岃瘉鐮侀珮搴�
-        type: integer
-      img-width:
-        description: 楠岃瘉鐮佸搴�
-        type: integer
-      key-long:
-        description: 楠岃瘉鐮侀暱搴�
-        type: integer
-      open-captcha:
-        description: 闃茬垎鐮撮獙璇佺爜寮�鍚鏁帮紝0浠h〃姣忔鐧诲綍閮介渶瑕侀獙璇佺爜锛屽叾浠栨暟瀛椾唬琛ㄩ敊璇瘑鐮佹鏁帮紝濡�3浠h〃閿欒涓夋鍚庡嚭鐜伴獙璇佺爜
-        type: integer
-      open-captcha-timeout:
-        description: 闃茬垎鐮撮獙璇佺爜瓒呮椂鏃堕棿锛屽崟浣嶏細s(绉�)
-        type: integer
-    type: object
-  config.Detail:
-    properties:
-      compareField:
-        description: 闇�瑕佹瘮杈冩椂闂寸殑瀛楁
-        type: string
-      interval:
-        description: 鏃堕棿闂撮殧
-        type: string
-      tableName:
-        description: 闇�瑕佹竻鐞嗙殑琛ㄥ悕
-        type: string
-    type: object
-  config.Excel:
-    properties:
-      dir:
-        type: string
-    type: object
-  config.HuaWeiObs:
-    properties:
-      access-key:
-        type: string
-      bucket:
-        type: string
-      endpoint:
-        type: string
-      path:
-        type: string
-      secret-key:
-        type: string
-    type: object
-  config.JWT:
-    properties:
-      buffer-time:
-        description: 缂撳啿鏃堕棿
-        type: string
-      expires-time:
-        description: 杩囨湡鏃堕棿
-        type: string
-      issuer:
-        description: 绛惧彂鑰�
-        type: string
-      signing-key:
-        description: jwt绛惧悕
-        type: string
-    type: object
-  config.Local:
-    properties:
-      path:
-        description: 鏈湴鏂囦欢璁块棶璺緞
-        type: string
-      store-path:
-        description: 鏈湴鏂囦欢瀛樺偍璺緞
         type: string
     type: object
   config.Mssql:
@@ -320,54 +181,8 @@
         description: 鏁版嵁搴撳瘑鐮�
         type: string
     type: object
-  config.Qiniu:
-    properties:
-      access-key:
-        description: 绉橀挜AK
-        type: string
-      bucket:
-        description: 绌洪棿鍚嶇О
-        type: string
-      img-path:
-        description: CDN鍔犻�熷煙鍚�
-        type: string
-      secret-key:
-        description: 绉橀挜SK
-        type: string
-      use-cdn-domains:
-        description: 涓婁紶鏄惁浣跨敤CDN涓婁紶鍔犻��
-        type: boolean
-      use-https:
-        description: 鏄惁浣跨敤https
-        type: boolean
-      zone:
-        description: 瀛樺偍鍖哄煙
-        type: string
-    type: object
-  config.Redis:
-    properties:
-      addr:
-        description: 鏈嶅姟鍣ㄥ湴鍧�:绔彛
-        type: string
-      db:
-        description: redis鐨勫摢涓暟鎹簱
-        type: integer
-      password:
-        description: 瀵嗙爜
-        type: string
-    type: object
   config.Server:
     properties:
-      aliyun-oss:
-        $ref: '#/definitions/config.AliyunOSS'
-      autocode:
-        allOf:
-        - $ref: '#/definitions/config.Autocode'
-        description: auto
-      aws-s3:
-        $ref: '#/definitions/config.AwsS3'
-      captcha:
-        $ref: '#/definitions/config.Captcha'
       cors:
         allOf:
         - $ref: '#/definitions/config.CORS'
@@ -376,18 +191,6 @@
         items:
           $ref: '#/definitions/config.SpecializedDB'
         type: array
-      email:
-        $ref: '#/definitions/srm_config.Email'
-      excel:
-        $ref: '#/definitions/config.Excel'
-      hua-wei-obs:
-        $ref: '#/definitions/config.HuaWeiObs'
-      jwt:
-        $ref: '#/definitions/config.JWT'
-      local:
-        allOf:
-        - $ref: '#/definitions/config.Local'
-        description: oss
       mssql:
         $ref: '#/definitions/config.Mssql'
       mysql:
@@ -398,20 +201,14 @@
         $ref: '#/definitions/config.Oracle'
       pgsql:
         $ref: '#/definitions/config.Pgsql'
-      qiniu:
-        $ref: '#/definitions/config.Qiniu'
-      redis:
-        $ref: '#/definitions/config.Redis'
       sqlite:
         $ref: '#/definitions/config.Sqlite'
       system:
         $ref: '#/definitions/config.System'
-      tencent-cos:
-        $ref: '#/definitions/config.TencentCOS'
-      timer:
-        $ref: '#/definitions/config.Timer'
       zap:
-        $ref: '#/definitions/config.Zap'
+        allOf:
+        - $ref: '#/definitions/config.Zap'
+        description: JWT     JWT     `mapstructure:"jwt" json:"jwt" yaml:"jwt"`
     type: object
   config.SpecializedDB:
     properties:
@@ -510,55 +307,20 @@
       env:
         description: 鐜鍊�
         type: string
-      grpc-url:
-        description: grpc鏈嶅姟鍦板潃
+      grpc-admin-url:
+        description: admin grpc鏈嶅姟鍦板潃
         type: string
-      iplimit-count:
-        type: integer
-      iplimit-time:
-        type: integer
-      oss-type:
-        description: Oss绫诲瀷
+      grpc-port:
+        description: 瀵瑰鎻愪緵鏈嶅姟grpc绔彛
+        type: string
+      grpc-url:
+        description: aps grpc鏈嶅姟鍦板潃
+        type: string
+      grpc-wms-url:
+        description: wms grpc鏈嶅姟鍦板潃
         type: string
       router-prefix:
         type: string
-      use-multipoint:
-        description: 澶氱偣鐧诲綍鎷︽埅
-        type: boolean
-      use-redis:
-        description: 浣跨敤redis
-        type: boolean
-    type: object
-  config.TencentCOS:
-    properties:
-      base-url:
-        type: string
-      bucket:
-        type: string
-      path-prefix:
-        type: string
-      region:
-        type: string
-      secret-id:
-        type: string
-      secret-key:
-        type: string
-    type: object
-  config.Timer:
-    properties:
-      detail:
-        items:
-          $ref: '#/definitions/config.Detail'
-        type: array
-      spec:
-        description: CRON琛ㄨ揪寮�
-        type: string
-      start:
-        description: 鏄惁鍚敤
-        type: boolean
-      with_seconds:
-        description: 鏄惁绮剧‘鍒扮
-        type: boolean
     type: object
   config.Zap:
     properties:
@@ -590,123 +352,285 @@
         description: 鏍堝悕
         type: string
     type: object
-  example.ExaCustomer:
+  purchase.OrderStatus:
+    enum:
+    - 1
+    - 2
+    - 3
+    - 4
+    - 5
+    type: integer
+    x-enum-comments:
+      OrderStatusCanceled: 宸插彇娑�
+      OrderStatusCompleted: 宸插畬鎴�
+      OrderStatusConfirmed: 寰呯‘璁�
+      OrderStatusReceived: 寰呭叆搴�
+      OrderStatusStored: 宸插叆搴�
+    x-enum-varnames:
+    - OrderStatusConfirmed
+    - OrderStatusReceived
+    - OrderStatusStored
+    - OrderStatusCompleted
+    - OrderStatusCanceled
+  purchase.PriceAdjustmentType:
+    enum:
+    - 1
+    - 2
+    type: integer
+    x-enum-comments:
+      PriceAdjustmentTypeAdd: 澧炲姞
+      PriceAdjustmentTypeSub: 鍑忓皯
+    x-enum-varnames:
+    - PriceAdjustmentTypeAdd
+    - PriceAdjustmentTypeSub
+  purchase.Purchase:
     properties:
-      customerName:
-        description: 瀹㈡埛鍚�
+      contact:
+        description: 鑱旂郴浜�
         type: string
-      customerPhoneData:
-        description: 瀹㈡埛鎵嬫満鍙�
+      created_at:
+        type: string
+      creator:
+        description: 鍒跺崟浜�
+        type: string
+      deliveryDate:
+        description: 浜や粯鏃ユ湡
+        type: string
+      handledBy:
+        description: 缁忓姙浜�
         type: string
       id:
         description: 涓婚敭ID
         type: integer
-      sysUser:
-        allOf:
-        - $ref: '#/definitions/system.SysUser'
-        description: 绠$悊璇︽儏
-      sysUserAuthorityID:
-        description: 绠$悊瑙掕壊ID
-        type: integer
-      sysUserId:
-        description: 绠$悊ID
-        type: integer
-    type: object
-  example.ExaFile:
-    properties:
-      chunkTotal:
-        type: integer
-      exaFileChunk:
-        items:
-          $ref: '#/definitions/example.ExaFileChunk'
-        type: array
-      fileMd5:
-        type: string
-      fileName:
-        type: string
-      filePath:
-        type: string
-      id:
-        description: 涓婚敭ID
-        type: integer
-      isFinish:
-        type: boolean
-    type: object
-  example.ExaFileChunk:
-    properties:
-      exaFileID:
-        type: integer
-      fileChunkNumber:
-        type: integer
-      fileChunkPath:
-        type: string
-      id:
-        description: 涓婚敭ID
-        type: integer
-    type: object
-  example.ExaFileUploadAndDownload:
-    properties:
-      id:
-        description: 涓婚敭ID
-        type: integer
-      key:
-        description: 缂栧彿
-        type: string
+      invoiceAmount:
+        description: 宸叉敹绁ㄩ噾棰�
+        type: number
       name:
-        description: 鏂囦欢鍚�
+        description: 閲囪喘鍚嶇О
         type: string
-      tag:
-        description: 鏂囦欢鏍囩
+      number:
+        description: 閲囪喘缂栧彿
         type: string
-      url:
-        description: 鏂囦欢鍦板潃
+      orderSource:
+        description: 鍗曟嵁鏉ユ簮
+        type: string
+      orderType:
+        description: 鍗曟嵁绫诲瀷
+        type: string
+      paidAmount:
+        description: 宸蹭粯閲戦
+        type: number
+      phone:
+        description: 鑱旂郴浜虹數璇�
+        type: string
+      priceAdjustment:
+        description: 浠锋牸璋冩暣鍊�
+        type: number
+      priceAdjustmentType:
+        allOf:
+        - $ref: '#/definitions/purchase.PriceAdjustmentType'
+        description: 浠锋牸璋冩暣绫诲瀷
+      principal:
+        description: 閲囪喘璐熻矗浜�
+        type: string
+      purchaseType:
+        $ref: '#/definitions/purchase.PurchaseType'
+      purchaseTypeId:
+        description: 閲囪喘绫诲瀷id
+        type: integer
+      quantity:
+        description: 閲囪喘鏁伴噺
+        type: number
+      realTotalPrice:
+        description: 鏈�缁堜环鏍�
+        type: number
+      remark:
+        description: 澶囨敞
+        type: string
+      shouldPayAmount:
+        description: 搴斾粯閲戦
+        type: number
+      signingDate:
+        description: 绛剧害鏃ユ湡
+        type: string
+      status:
+        allOf:
+        - $ref: '#/definitions/purchase.OrderStatus'
+        description: 鐘舵��
+      supplier:
+        $ref: '#/definitions/test.Supplier'
+      supplierId:
+        description: 渚涘簲鍟唅d
+        type: integer
+      totalPrice:
+        description: 浠风◣鍚堣
+        type: number
+      unInvoiceAmount:
+        description: 鏈敹绁ㄩ噾棰�
+        type: number
+      updated_at:
+        type: string
+      warehouse:
+        description: 鏀惰揣浠撳簱
+        type: string
+      wholeDiscount:
+        description: 鏁村崟鎶樻墸鍊�
+        type: number
+      wholeDiscountType:
+        allOf:
+        - $ref: '#/definitions/purchase.WholeDiscountType'
+        description: 鏁村崟鎶樻墸绫诲瀷
+    type: object
+  purchase.PurchaseProducts:
+    properties:
+      amount:
+        description: 閲囪喘鏁伴噺
+        type: number
+      created_at:
+        type: string
+      id:
+        description: 涓婚敭ID
+        type: integer
+      price:
+        description: 閲囪喘鍗曚环
+        type: number
+      productId:
+        description: 浜у搧id
+        type: integer
+      purchaseId:
+        description: 閲囪喘id
+        type: integer
+      remark:
+        description: 鎻忚堪
+        type: string
+      total:
+        description: 閲囪喘鎬讳环
+        type: number
+      updated_at:
         type: string
     type: object
-  request.AddMenuAuthorityInfo:
+  purchase.PurchaseType:
     properties:
-      authorityId:
-        description: 瑙掕壊ID
+      created_at:
+        type: string
+      id:
+        description: 涓婚敭ID
         type: integer
-      menus:
+      name:
+        description: 閲囪喘绫诲瀷
+        type: string
+      pin:
+        description: 鏄惁缃《
+        type: boolean
+      sort:
+        description: 鎺掑簭
+        type: integer
+      updated_at:
+        type: string
+    type: object
+  purchase.WholeDiscountType:
+    enum:
+    - 1
+    - 2
+    type: integer
+    x-enum-comments:
+      WholeDiscountTypeDiscount: 鐩存帴闄嶄环
+      WholeDiscountTypePercent: 鐧惧垎姣旈檷浠�
+    x-enum-varnames:
+    - WholeDiscountTypePercent
+    - WholeDiscountTypeDiscount
+  purchaserequest.AddPurchase:
+    properties:
+      productList:
         items:
-          $ref: '#/definitions/system.SysBaseMenu'
+          $ref: '#/definitions/purchase.PurchaseProducts'
         type: array
+      purchase:
+        $ref: '#/definitions/purchaserequest.Purchase'
     type: object
-  request.CasbinInReceive:
+  purchaserequest.Purchase:
     properties:
-      authorityId:
-        description: 鏉冮檺id
+      contact:
+        description: 鑱旂郴浜�
+        type: string
+      deliveryDate:
+        description: 浜や粯鏃ユ湡
+        type: string
+      id:
+        description: 涓婚敭ID
         type: integer
-      casbinInfos:
+      name:
+        description: 閲囪喘鍚嶇О
+        type: string
+      number:
+        description: 閲囪喘缂栧彿
+        type: string
+      phone:
+        description: 鑱旂郴浜虹數璇�
+        type: string
+      priceAdjustment:
+        description: 浠锋牸璋冩暣鍊�
+        type: number
+      priceAdjustmentType:
+        allOf:
+        - $ref: '#/definitions/purchase.PriceAdjustmentType'
+        description: 浠锋牸璋冩暣绫诲瀷
+      purchaseTypeId:
+        description: 閲囪喘绫诲瀷id
+        type: integer
+      quantity:
+        description: 閲囪喘鏁伴噺
+        type: number
+      realTotalPrice:
+        description: 鏈�缁堜环鏍�
+        type: number
+      remark:
+        description: 澶囨敞
+        type: string
+      signingDate:
+        description: 绛剧害鏃ユ湡
+        type: string
+      status:
+        allOf:
+        - $ref: '#/definitions/purchase.OrderStatus'
+        description: 鐘舵��
+      supplierId:
+        description: 渚涘簲鍟唅d
+        type: integer
+      totalPrice:
+        description: 浠风◣鍚堣
+        type: number
+      wholeDiscount:
+        description: 鏁村崟鎶樻墸鍊�
+        type: number
+      wholeDiscountType:
+        allOf:
+        - $ref: '#/definitions/purchase.WholeDiscountType'
+        description: 鏁村崟鎶樻墸绫诲瀷
+    type: object
+  purchaserequest.PurchaseType:
+    properties:
+      id:
+        description: 涓婚敭ID
+        type: integer
+      name:
+        description: 閲囪喘绫诲瀷
+        type: string
+      pin:
+        description: 鏄惁缃《
+        type: boolean
+      sort:
+        description: 鎺掑簭
+        type: integer
+    type: object
+  purchaserequest.UpdatePurchase:
+    properties:
+      productList:
         items:
-          $ref: '#/definitions/request.CasbinInfo'
+          $ref: '#/definitions/purchase.PurchaseProducts'
         type: array
-    type: object
-  request.CasbinInfo:
-    properties:
-      method:
-        description: 鏂规硶
-        type: string
-      path:
-        description: 璺緞
-        type: string
-    type: object
-  request.ChangePasswordReq:
-    properties:
-      newPassword:
-        description: 鏂板瘑鐮�
-        type: string
-      password:
-        description: 瀵嗙爜
-        type: string
-    type: object
-  request.Empty:
-    type: object
-  request.GetAuthorityId:
-    properties:
-      authorityId:
-        description: 瑙掕壊ID
-        type: integer
+      purchase:
+        $ref: '#/definitions/purchaserequest.Purchase'
     type: object
   request.GetById:
     properties:
@@ -728,146 +652,41 @@
           $ref: '#/definitions/test.Industry'
         type: array
     type: object
-  request.InitDB:
+  request.Product:
     properties:
-      dbName:
-        description: 鏁版嵁搴撳悕
+      categoryName:
         type: string
-      dbPath:
-        description: sqlite鏁版嵁搴撴枃浠惰矾寰�
+      deliveryTime:
+        type: integer
+      modelNumber:
         type: string
-      dbType:
-        description: 鏁版嵁搴撶被鍨�
+      name:
         type: string
-      host:
-        description: 鏈嶅姟鍣ㄥ湴鍧�
+      number:
         type: string
-      password:
-        description: 鏁版嵁搴撳瘑鐮�
+      purchasePrice:
+        type: number
+      shippingDuration:
+        type: integer
+      specifications:
         type: string
-      port:
-        description: 鏁版嵁搴撹繛鎺ョ鍙�
+      supplier:
         type: string
-      userName:
-        description: 鏁版嵁搴撶敤鎴峰悕
+      supplierId:
+        type: integer
+      supplierName:
         type: string
-    required:
-    - dbName
-    type: object
-  request.Login:
-    properties:
-      captcha:
-        description: 楠岃瘉鐮�
+      supplierNumber:
         type: string
-      captchaId:
-        description: 楠岃瘉鐮両D
-        type: string
-      password:
-        description: 瀵嗙爜
-        type: string
-      username:
-        description: 鐢ㄦ埛鍚�
+      unit:
         type: string
     type: object
-  request.PageInfo:
+  request.ProductCreate:
     properties:
-      keyword:
-        description: 鍏抽敭瀛�
-        type: string
-      page:
-        description: 椤电爜
-        type: integer
-      pageSize:
-        description: 姣忛〉澶у皬
-        type: integer
-    type: object
-  request.Register:
-    properties:
-      authorityId:
-        example: int 瑙掕壊id
-        type: string
-      authorityIds:
-        example: '[]uint 瑙掕壊id'
-        type: string
-      email:
-        example: 鐢靛瓙閭
-        type: string
-      enable:
-        example: int 鏄惁鍚敤
-        type: string
-      headerImg:
-        example: 澶村儚閾炬帴
-        type: string
-      nickName:
-        example: 鏄电О
-        type: string
-      passWord:
-        example: 瀵嗙爜
-        type: string
-      phone:
-        example: 鐢佃瘽鍙风爜
-        type: string
-      userName:
-        example: 鐢ㄦ埛鍚�
-        type: string
-    type: object
-  request.RollBack:
-    properties:
-      deleteTable:
-        description: 鏄惁鍒犻櫎琛�
-        type: boolean
-      id:
-        description: 涓婚敭ID
-        type: integer
-    type: object
-  request.SearchApiParams:
-    properties:
-      apiGroup:
-        description: api缁�
-        type: string
-      desc:
-        description: 鎺掑簭鏂瑰紡:鍗囧簭false(榛樿)|闄嶅簭true
-        type: boolean
-      description:
-        description: api涓枃鎻忚堪
-        type: string
-      id:
-        description: 涓婚敭ID
-        type: integer
-      keyword:
-        description: 鍏抽敭瀛�
-        type: string
-      method:
-        description: 鏂规硶:鍒涘缓POST(榛樿)|鏌ョ湅GET|鏇存柊PUT|鍒犻櫎DELETE
-        type: string
-      orderKey:
-        description: 鎺掑簭
-        type: string
-      page:
-        description: 椤电爜
-        type: integer
-      pageSize:
-        description: 姣忛〉澶у皬
-        type: integer
-      path:
-        description: api璺緞
-        type: string
-    type: object
-  request.SetUserAuth:
-    properties:
-      authorityId:
-        description: 瑙掕壊ID
-        type: integer
-    type: object
-  request.SetUserAuthorities:
-    properties:
-      authorityIds:
-        description: 瑙掕壊ID
+      list:
         items:
-          type: integer
+          $ref: '#/definitions/request.Product'
         type: array
-      id:
-        type: integer
     type: object
   request.SupplierStatus:
     properties:
@@ -883,70 +702,6 @@
           $ref: '#/definitions/test.SupplierType'
         type: array
     type: object
-  request.SysAuthorityBtnReq:
-    properties:
-      authorityId:
-        type: integer
-      menuID:
-        type: integer
-      selected:
-        items:
-          type: integer
-        type: array
-    type: object
-  request.SysAutoHistory:
-    properties:
-      keyword:
-        description: 鍏抽敭瀛�
-        type: string
-      page:
-        description: 椤电爜
-        type: integer
-      pageSize:
-        description: 姣忛〉澶у皬
-        type: integer
-    type: object
-  response.Email:
-    properties:
-      body:
-        description: 閭欢鍐呭
-        type: string
-      subject:
-        description: 閭欢鏍囬
-        type: string
-      to:
-        description: 閭欢鍙戦�佺粰璋�
-        type: string
-    type: object
-  response.ExaCustomerResponse:
-    properties:
-      customer:
-        $ref: '#/definitions/example.ExaCustomer'
-    type: object
-  response.ExaFileResponse:
-    properties:
-      file:
-        $ref: '#/definitions/example.ExaFileUploadAndDownload'
-    type: object
-  response.FilePathResponse:
-    properties:
-      filePath:
-        type: string
-    type: object
-  response.FileResponse:
-    properties:
-      file:
-        $ref: '#/definitions/example.ExaFile'
-    type: object
-  response.LoginResponse:
-    properties:
-      expiresAt:
-        type: integer
-      token:
-        type: string
-      user:
-        $ref: '#/definitions/system.SysUser'
-    type: object
   response.PageResult:
     properties:
       list: {}
@@ -957,12 +712,50 @@
       total:
         type: integer
     type: object
-  response.PolicyPathResponse:
+  response.PurchaseProducts:
     properties:
-      paths:
+      amount:
+        description: 閲囪喘鏁伴噺
+        type: number
+      deliveryTime:
+        type: integer
+      modelNumber:
+        type: string
+      name:
+        type: string
+      number:
+        type: string
+      price:
+        description: 閲囪喘鍗曚环
+        type: number
+      productId:
+        description: 浜у搧id
+        type: integer
+      productType:
+        type: string
+      purchaseId:
+        description: 閲囪喘id
+        type: integer
+      purchasePrice:
+        type: number
+      shippingDuration:
+        type: integer
+      specifications:
+        type: string
+      total:
+        description: 閲囪喘鎬讳环
+        type: number
+      unit:
+        type: string
+    type: object
+  response.PurchaseResponse:
+    properties:
+      productList:
         items:
-          $ref: '#/definitions/request.CasbinInfo'
+          $ref: '#/definitions/response.PurchaseProducts'
         type: array
+      purchase:
+        $ref: '#/definitions/purchase.Purchase'
     type: object
   response.Response:
     properties:
@@ -972,519 +765,6 @@
       msg:
         type: string
     type: object
-  response.SysAPIListResponse:
-    properties:
-      apis:
-        items:
-          $ref: '#/definitions/system.SysApi'
-        type: array
-    type: object
-  response.SysAPIResponse:
-    properties:
-      api:
-        $ref: '#/definitions/system.SysApi'
-    type: object
-  response.SysAuthorityBtnRes:
-    properties:
-      selected:
-        items:
-          type: integer
-        type: array
-    type: object
-  response.SysAuthorityCopyResponse:
-    properties:
-      authority:
-        $ref: '#/definitions/system.SysAuthority'
-      oldAuthorityId:
-        description: 鏃ц鑹睮D
-        type: integer
-    type: object
-  response.SysAuthorityResponse:
-    properties:
-      authority:
-        $ref: '#/definitions/system.SysAuthority'
-    type: object
-  response.SysBaseMenuResponse:
-    properties:
-      menu:
-        $ref: '#/definitions/system.SysBaseMenu'
-    type: object
-  response.SysBaseMenusResponse:
-    properties:
-      menus:
-        items:
-          $ref: '#/definitions/system.SysBaseMenu'
-        type: array
-    type: object
-  response.SysCaptchaResponse:
-    properties:
-      captchaId:
-        type: string
-      captchaLength:
-        type: integer
-      openCaptcha:
-        type: boolean
-      picPath:
-        type: string
-    type: object
-  response.SysConfigResponse:
-    properties:
-      config:
-        $ref: '#/definitions/config.Server'
-    type: object
-  response.SysMenusResponse:
-    properties:
-      menus:
-        items:
-          $ref: '#/definitions/system.SysMenu'
-        type: array
-    type: object
-  response.SysUserResponse:
-    properties:
-      user:
-        $ref: '#/definitions/system.SysUser'
-    type: object
-  srm_config.Email:
-    properties:
-      from:
-        description: 鍙戜欢浜�  浣犺嚜宸辫鍙戦偖浠剁殑閭
-        type: string
-      host:
-        description: 鏈嶅姟鍣ㄥ湴鍧� 渚嬪 smtp.qq.com  璇峰墠寰�QQ鎴栬�呬綘瑕佸彂閭欢鐨勯偖绠辨煡鐪嬪叾smtp鍗忚
-        type: string
-      is-ssl:
-        description: 鏄惁SSL   鏄惁寮�鍚疭SL
-        type: boolean
-      nickname:
-        description: 鏄电О    鍙戜欢浜烘樀绉� 閫氬父涓鸿嚜宸辩殑閭
-        type: string
-      port:
-        description: 绔彛     璇峰墠寰�QQ鎴栬�呬綘瑕佸彂閭欢鐨勯偖绠辨煡鐪嬪叾smtp鍗忚 澶у涓� 465
-        type: integer
-      secret:
-        description: 瀵嗛挜    鐢ㄤ簬鐧诲綍鐨勫瘑閽� 鏈�濂戒笉瑕佺敤閭瀵嗙爜 鍘婚偖绠眘mtp鐢宠涓�涓敤浜庣櫥褰曠殑瀵嗛挜
-        type: string
-      to:
-        description: 鏀朵欢浜�:澶氫釜浠ヨ嫳鏂囬�楀彿鍒嗛殧 渚嬶細a@qq.com b@qq.com 姝e紡寮�鍙戜腑璇锋妸姝ら」鐩綔涓哄弬鏁颁娇鐢�
-        type: string
-    type: object
-  system.AutoCodeStruct:
-    properties:
-      abbreviation:
-        description: Struct绠�绉�
-        type: string
-      autoCreateApiToSql:
-        description: 鏄惁鑷姩鍒涘缓api
-        type: boolean
-      autoCreateResource:
-        description: 鏄惁鑷姩鍒涘缓璧勬簮鏍囪瘑
-        type: boolean
-      autoMoveFile:
-        description: 鏄惁鑷姩绉诲姩鏂囦欢
-        type: boolean
-      businessDB:
-        description: 涓氬姟鏁版嵁搴�
-        type: string
-      description:
-        description: Struct涓枃鍚嶇О
-        type: string
-      fields:
-        items:
-          $ref: '#/definitions/system.Field'
-        type: array
-      hasTimer:
-        type: boolean
-      humpPackageName:
-        description: go鏂囦欢鍚嶇О
-        type: string
-      package:
-        type: string
-      packageName:
-        description: 鏂囦欢鍚嶇О
-        type: string
-      structName:
-        description: Struct鍚嶇О
-        type: string
-      tableName:
-        description: 琛ㄥ悕
-        type: string
-    type: object
-  system.Field:
-    properties:
-      clearable:
-        description: 鏄惁鍙竻绌�
-        type: boolean
-      columnName:
-        description: 鏁版嵁搴撳瓧娈�
-        type: string
-      comment:
-        description: 鏁版嵁搴撳瓧娈垫弿杩�
-        type: string
-      dataTypeLong:
-        description: 鏁版嵁搴撳瓧娈甸暱搴�
-        type: string
-      dictType:
-        description: 瀛楀吀
-        type: string
-      errorText:
-        description: 鏍¢獙澶辫触鏂囧瓧
-        type: string
-      fieldDesc:
-        description: 涓枃鍚�
-        type: string
-      fieldJson:
-        description: FieldJson
-        type: string
-      fieldName:
-        description: Field鍚�
-        type: string
-      fieldSearchType:
-        description: 鎼滅储鏉′欢
-        type: string
-      fieldType:
-        description: Field鏁版嵁绫诲瀷
-        type: string
-      require:
-        description: 鏄惁蹇呭~
-        type: boolean
-      sort:
-        description: 鏄惁澧炲姞鎺掑簭
-        type: boolean
-    type: object
-  system.Meta:
-    properties:
-      activeName:
-        type: string
-      closeTab:
-        description: 鑷姩鍏抽棴tab
-        type: boolean
-      defaultMenu:
-        description: 鏄惁鏄熀纭�璺敱锛堝紑鍙戜腑锛�
-        type: boolean
-      icon:
-        description: 鑿滃崟鍥炬爣
-        type: string
-      keepAlive:
-        description: 鏄惁缂撳瓨
-        type: boolean
-      title:
-        description: 鑿滃崟鍚�
-        type: string
-    type: object
-  system.SysApi:
-    properties:
-      apiGroup:
-        description: api缁�
-        type: string
-      description:
-        description: api涓枃鎻忚堪
-        type: string
-      id:
-        description: 涓婚敭ID
-        type: integer
-      method:
-        description: 鏂规硶:鍒涘缓POST(榛樿)|鏌ョ湅GET|鏇存柊PUT|鍒犻櫎DELETE
-        type: string
-      path:
-        description: api璺緞
-        type: string
-    type: object
-  system.SysAuthority:
-    properties:
-      authorityId:
-        description: 瑙掕壊ID
-        type: integer
-      authorityName:
-        description: 瑙掕壊鍚�
-        type: string
-      children:
-        items:
-          $ref: '#/definitions/system.SysAuthority'
-        type: array
-      createdAt:
-        description: 鍒涘缓鏃堕棿
-        type: string
-      dataAuthorityId:
-        items:
-          $ref: '#/definitions/system.SysAuthority'
-        type: array
-      defaultRouter:
-        description: 榛樿鑿滃崟(榛樿dashboard)
-        type: string
-      deletedAt:
-        type: string
-      menus:
-        items:
-          $ref: '#/definitions/system.SysBaseMenu'
-        type: array
-      parentId:
-        description: 鐖惰鑹睮D
-        type: integer
-      updatedAt:
-        description: 鏇存柊鏃堕棿
-        type: string
-    type: object
-  system.SysAutoCode:
-    properties:
-      desc:
-        type: string
-      id:
-        description: 涓婚敭ID
-        type: integer
-      label:
-        type: string
-      packageName:
-        type: string
-    type: object
-  system.SysBaseMenu:
-    properties:
-      authoritys:
-        items:
-          $ref: '#/definitions/system.SysAuthority'
-        type: array
-      children:
-        items:
-          $ref: '#/definitions/system.SysBaseMenu'
-        type: array
-      component:
-        description: 瀵瑰簲鍓嶇鏂囦欢璺緞
-        type: string
-      hidden:
-        description: 鏄惁鍦ㄥ垪琛ㄩ殣钘�
-        type: boolean
-      id:
-        description: 涓婚敭ID
-        type: integer
-      menuBtn:
-        items:
-          $ref: '#/definitions/system.SysBaseMenuBtn'
-        type: array
-      meta:
-        allOf:
-        - $ref: '#/definitions/system.Meta'
-        description: 闄勫姞灞炴��
-      name:
-        description: 璺敱name
-        type: string
-      parameters:
-        items:
-          $ref: '#/definitions/system.SysBaseMenuParameter'
-        type: array
-      parentId:
-        description: 鐖惰彍鍗旾D
-        type: string
-      path:
-        description: 璺敱path
-        type: string
-      sort:
-        description: 鎺掑簭鏍囪
-        type: integer
-    type: object
-  system.SysBaseMenuBtn:
-    properties:
-      desc:
-        type: string
-      id:
-        description: 涓婚敭ID
-        type: integer
-      name:
-        type: string
-      sysBaseMenuID:
-        type: integer
-    type: object
-  system.SysBaseMenuParameter:
-    properties:
-      id:
-        description: 涓婚敭ID
-        type: integer
-      key:
-        description: 鍦板潃鏍忔惡甯﹀弬鏁扮殑key
-        type: string
-      sysBaseMenuID:
-        type: integer
-      type:
-        description: 鍦板潃鏍忔惡甯﹀弬鏁颁负params杩樻槸query
-        type: string
-      value:
-        description: 鍦板潃鏍忔惡甯﹀弬鏁扮殑鍊�
-        type: string
-    type: object
-  system.SysDictionary:
-    properties:
-      desc:
-        description: 鎻忚堪
-        type: string
-      id:
-        description: 涓婚敭ID
-        type: integer
-      name:
-        description: 瀛楀吀鍚嶏紙涓級
-        type: string
-      status:
-        description: 鐘舵��
-        type: boolean
-      sysDictionaryDetails:
-        items:
-          $ref: '#/definitions/system.SysDictionaryDetail'
-        type: array
-      type:
-        description: 瀛楀吀鍚嶏紙鑻憋級
-        type: string
-    type: object
-  system.SysDictionaryDetail:
-    properties:
-      id:
-        description: 涓婚敭ID
-        type: integer
-      label:
-        description: 灞曠ず鍊�
-        type: string
-      sort:
-        description: 鎺掑簭鏍囪
-        type: integer
-      status:
-        description: 鍚敤鐘舵��
-        type: boolean
-      sysDictionaryID:
-        description: 鍏宠仈鏍囪
-        type: integer
-      value:
-        description: 瀛楀吀鍊�
-        type: integer
-    type: object
-  system.SysMenu:
-    properties:
-      authoritys:
-        items:
-          $ref: '#/definitions/system.SysAuthority'
-        type: array
-      btns:
-        additionalProperties:
-          type: integer
-        type: object
-      children:
-        items:
-          $ref: '#/definitions/system.SysMenu'
-        type: array
-      component:
-        description: 瀵瑰簲鍓嶇鏂囦欢璺緞
-        type: string
-      hidden:
-        description: 鏄惁鍦ㄥ垪琛ㄩ殣钘�
-        type: boolean
-      id:
-        description: 涓婚敭ID
-        type: integer
-      menuBtn:
-        items:
-          $ref: '#/definitions/system.SysBaseMenuBtn'
-        type: array
-      menuId:
-        type: string
-      meta:
-        allOf:
-        - $ref: '#/definitions/system.Meta'
-        description: 闄勫姞灞炴��
-      name:
-        description: 璺敱name
-        type: string
-      parameters:
-        items:
-          $ref: '#/definitions/system.SysBaseMenuParameter'
-        type: array
-      parentId:
-        description: 鐖惰彍鍗旾D
-        type: string
-      path:
-        description: 璺敱path
-        type: string
-      sort:
-        description: 鎺掑簭鏍囪
-        type: integer
-    type: object
-  system.SysOperationRecord:
-    properties:
-      agent:
-        description: 浠g悊
-        type: string
-      body:
-        description: 璇锋眰Body
-        type: string
-      error_message:
-        description: 閿欒淇℃伅
-        type: string
-      id:
-        description: 涓婚敭ID
-        type: integer
-      ip:
-        description: 璇锋眰ip
-        type: string
-      latency:
-        description: 寤惰繜
-        type: string
-      method:
-        description: 璇锋眰鏂规硶
-        type: string
-      path:
-        description: 璇锋眰璺緞
-        type: string
-      resp:
-        description: 鍝嶅簲Body
-        type: string
-      status:
-        description: 璇锋眰鐘舵��
-        type: integer
-      user:
-        $ref: '#/definitions/system.SysUser'
-      user_id:
-        description: 鐢ㄦ埛id
-        type: integer
-    type: object
-  system.SysUser:
-    properties:
-      activeColor:
-        description: 娲昏穬棰滆壊
-        type: string
-      authorities:
-        items:
-          $ref: '#/definitions/system.SysAuthority'
-        type: array
-      authority:
-        $ref: '#/definitions/system.SysAuthority'
-      authorityId:
-        description: 鐢ㄦ埛瑙掕壊ID
-        type: integer
-      baseColor:
-        description: 鍩虹棰滆壊
-        type: string
-      email:
-        description: 鐢ㄦ埛閭
-        type: string
-      enable:
-        description: 鐢ㄦ埛鏄惁琚喕缁� 1姝e父 2鍐荤粨
-        type: integer
-      headerImg:
-        description: 鐢ㄦ埛澶村儚
-        type: string
-      id:
-        description: 涓婚敭ID
-        type: integer
-      nickName:
-        description: 鐢ㄦ埛鏄电О
-        type: string
-      phone:
-        description: 鐢ㄦ埛鎵嬫満鍙�
-        type: string
-      sideMode:
-        description: 鐢ㄦ埛渚ц竟涓婚
-        type: string
-      userName:
-        description: 鐢ㄦ埛鐧诲綍鍚�
-        type: string
-      uuid:
-        description: 鐢ㄦ埛UUID
-        type: string
-    type: object
   system.System:
     properties:
       config:
@@ -1492,10 +772,8 @@
     type: object
   test.Contract:
     properties:
-      fileContent:
-        items:
-          type: integer
-        type: array
+      created_at:
+        type: string
       fileName:
         type: string
       id:
@@ -1503,39 +781,35 @@
         type: integer
       supplierID:
         type: integer
+      updated_at:
+        type: string
     type: object
   test.Industry:
     properties:
+      created_at:
+        type: string
       id:
         description: 涓婚敭ID
         type: integer
       name:
+        type: string
+      updated_at:
         type: string
     type: object
-  test.Product:
+  test.Member:
     properties:
-      deliveryTime:
-        type: integer
+      created_at:
+        type: string
       id:
         description: 涓婚敭ID
         type: integer
-      maximumStock:
-        type: integer
-      minimumStock:
-        type: integer
-      name:
+      nickname:
         type: string
-      number:
+      updated_at:
         type: string
-      productType:
+      userName:
         type: string
-      purchasePrice:
-        type: number
-      remark:
-        type: string
-      shippingDuration:
-        type: integer
-      unit:
+      uuid:
         type: string
     type: object
   test.Supplier:
@@ -1547,6 +821,10 @@
       bank:
         type: string
       contact:
+        type: string
+      contract:
+        $ref: '#/definitions/test.Contract'
+      created_at:
         type: string
       detailAddress:
         type: string
@@ -1565,21 +843,66 @@
         type: string
       phone:
         type: string
-      responsiblePersonId:
-        type: integer
+      responsiblePersonName:
+        type: string
       status:
         type: integer
       supplierType:
         type: string
+      updated_at:
+        type: string
       url:
+        type: string
+    type: object
+  test.SupplierMaterial:
+    properties:
+      categoryName:
+        description: 浜у搧绫诲埆鍚嶇О
+        type: string
+      created_at:
+        type: string
+      deliveryTime:
+        description: 渚涜揣鏃堕暱
+        type: integer
+      id:
+        description: 涓婚敭ID
+        type: integer
+      maximumStock:
+        type: integer
+      minimumStock:
+        type: integer
+      modelNumber:
+        type: string
+      name:
+        type: string
+      number:
+        type: string
+      purchasePrice:
+        type: number
+      shippingDuration:
+        description: 鐗╂祦鏃堕暱
+        type: integer
+      specifications:
+        type: string
+      supplier:
+        $ref: '#/definitions/test.Supplier'
+      supplierId:
+        type: integer
+      unit:
+        type: string
+      updated_at:
         type: string
     type: object
   test.SupplierType:
     properties:
+      created_at:
+        type: string
       id:
         description: 涓婚敭ID
         type: integer
       name:
+        type: string
+      updated_at:
         type: string
     type: object
 info:
@@ -1588,1002 +911,6 @@
   title: Swagger Example API
   version: 0.0.1
 paths:
-  /api/createApi:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: api璺緞, api涓枃鎻忚堪, api缁�, 鏂规硶
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysApi'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒涘缓鍩虹api
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒涘缓鍩虹api
-      tags:
-      - SysApi
-  /api/deleteApi:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: ID
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysApi'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎api
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒犻櫎api
-      tags:
-      - SysApi
-  /api/deleteApisByIds:
-    delete:
-      consumes:
-      - application/json
-      parameters:
-      - description: ID
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.IdsReq'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎閫変腑Api
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒犻櫎閫変腑Api
-      tags:
-      - SysApi
-  /api/freshCasbin:
-    get:
-      consumes:
-      - application/json
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒锋柊鎴愬姛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      summary: 鍒锋柊casbin缂撳瓨
-      tags:
-      - SysApi
-  /api/getAllApis:
-    post:
-      consumes:
-      - application/json
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鑾峰彇鎵�鏈夌殑Api 涓嶅垎椤�,杩斿洖鍖呮嫭api鍒楄〃
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.SysAPIListResponse'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鑾峰彇鎵�鏈夌殑Api 涓嶅垎椤�
-      tags:
-      - SysApi
-  /api/getApiById:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鏍规嵁id鑾峰彇api
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.GetById'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鏍规嵁id鑾峰彇api,杩斿洖鍖呮嫭api璇︽儏
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.SysAPIResponse'
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鏍规嵁id鑾峰彇api
-      tags:
-      - SysApi
-  /api/getApiList:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鍒嗛〉鑾峰彇API鍒楄〃
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.SearchApiParams'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒嗛〉鑾峰彇API鍒楄〃,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.PageResult'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒嗛〉鑾峰彇API鍒楄〃
-      tags:
-      - SysApi
-  /api/updateApi:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: api璺緞, api涓枃鎻忚堪, api缁�, 鏂规硶
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysApi'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 淇敼鍩虹api
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 淇敼鍩虹api
-      tags:
-      - SysApi
-  /authority/copyAuthority:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鏃ц鑹瞚d, 鏂版潈闄恑d, 鏂版潈闄愬悕, 鏂扮埗瑙掕壊id
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/response.SysAuthorityCopyResponse'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鎷疯礉瑙掕壊,杩斿洖鍖呮嫭绯荤粺瑙掕壊璇︽儏
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.SysAuthorityResponse'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鎷疯礉瑙掕壊
-      tags:
-      - Authority
-  /authority/createAuthority:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鏉冮檺id, 鏉冮檺鍚�, 鐖惰鑹瞚d
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysAuthority'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒涘缓瑙掕壊,杩斿洖鍖呮嫭绯荤粺瑙掕壊璇︽儏
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.SysAuthorityResponse'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒涘缓瑙掕壊
-      tags:
-      - Authority
-  /authority/deleteAuthority:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鍒犻櫎瑙掕壊
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysAuthority'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎瑙掕壊
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒犻櫎瑙掕壊
-      tags:
-      - Authority
-  /authority/getAuthorityList:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 椤电爜, 姣忛〉澶у皬
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.PageInfo'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒嗛〉鑾峰彇瑙掕壊鍒楄〃,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.PageResult'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒嗛〉鑾峰彇瑙掕壊鍒楄〃
-      tags:
-      - Authority
-  /authority/setDataAuthority:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 璁剧疆瑙掕壊璧勬簮鏉冮檺
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysAuthority'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 璁剧疆瑙掕壊璧勬簮鏉冮檺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 璁剧疆瑙掕壊璧勬簮鏉冮檺
-      tags:
-      - Authority
-  /authority/updateAuthority:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鏉冮檺id, 鏉冮檺鍚�, 鐖惰鑹瞚d
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysAuthority'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鏇存柊瑙掕壊淇℃伅,杩斿洖鍖呮嫭绯荤粺瑙掕壊璇︽儏
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.SysAuthorityResponse'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鏇存柊瑙掕壊淇℃伅
-      tags:
-      - Authority
-  /authorityBtn/canRemoveAuthorityBtn:
-    post:
-      consumes:
-      - application/json
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎鎴愬姛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 璁剧疆鏉冮檺鎸夐挳
-      tags:
-      - AuthorityBtn
-  /authorityBtn/getAuthorityBtn:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鑿滃崟id, 瑙掕壊id, 閫変腑鐨勬寜閽甶d
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.SysAuthorityBtnReq'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 杩斿洖鍒楄〃鎴愬姛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.SysAuthorityBtnRes'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鑾峰彇鏉冮檺鎸夐挳
-      tags:
-      - AuthorityBtn
-  /authorityBtn/setAuthorityBtn:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鑿滃崟id, 瑙掕壊id, 閫変腑鐨勬寜閽甶d
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.SysAuthorityBtnReq'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 杩斿洖鍒楄〃鎴愬姛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 璁剧疆鏉冮檺鎸夐挳
-      tags:
-      - AuthorityBtn
-  /autoCode/createPackage:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鍒涘缓package
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysAutoCode'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒涘缓package鎴愬姛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒涘缓package
-      tags:
-      - AutoCode
-  /autoCode/createPlug:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鍒涘缓鎻掍欢妯℃澘
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysAutoCode'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒涘缓鎻掍欢妯℃澘鎴愬姛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒涘缓鎻掍欢妯℃澘
-      tags:
-      - AutoCode
-  /autoCode/createTemp:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鍒涘缓鑷姩浠g爜
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.AutoCodeStruct'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: '{"success":true,"data":{},"msg":"鍒涘缓鎴愬姛"}'
-          schema:
-            type: string
-      security:
-      - ApiKeyAuth: []
-      summary: 鑷姩浠g爜妯℃澘
-      tags:
-      - AutoCode
-  /autoCode/delPackage:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鍒涘缓package
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysAutoCode'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎package鎴愬姛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒犻櫎package
-      tags:
-      - AutoCode
-  /autoCode/delSysHistory:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 璇锋眰鍙傛暟
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.GetById'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎鍥炴粴璁板綍
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒犻櫎鍥炴粴璁板綍
-      tags:
-      - AutoCode
-  /autoCode/getColumn:
-    get:
-      consumes:
-      - application/json
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鑾峰彇褰撳墠琛ㄦ墍鏈夊瓧娈�
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鑾峰彇褰撳墠琛ㄦ墍鏈夊瓧娈�
-      tags:
-      - AutoCode
-  /autoCode/getDatabase:
-    get:
-      consumes:
-      - application/json
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鑾峰彇褰撳墠鎵�鏈夋暟鎹簱
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鑾峰彇褰撳墠鎵�鏈夋暟鎹簱
-      tags:
-      - AutoCode
-  /autoCode/getMeta:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 璇锋眰鍙傛暟
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.GetById'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鑾峰彇meta淇℃伅
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鑾峰彇meta淇℃伅
-      tags:
-      - AutoCode
-  /autoCode/getPackage:
-    post:
-      consumes:
-      - application/json
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒涘缓package鎴愬姛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鑾峰彇package
-      tags:
-      - AutoCode
-  /autoCode/getSysHistory:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 璇锋眰鍙傛暟
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.SysAutoHistory'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鏌ヨ鍥炴粴璁板綍,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.PageResult'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鏌ヨ鍥炴粴璁板綍
-      tags:
-      - AutoCode
-  /autoCode/getTables:
-    get:
-      consumes:
-      - application/json
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鑾峰彇褰撳墠鏁版嵁搴撴墍鏈夎〃
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鑾峰彇褰撳墠鏁版嵁搴撴墍鏈夎〃
-      tags:
-      - AutoCode
-  /autoCode/installPlugin:
-    post:
-      consumes:
-      - multipart/form-data
-      parameters:
-      - description: this is a test file
-        in: formData
-        name: plug
-        required: true
-        type: file
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 瀹夎鎻掍欢鎴愬姛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  items:
-                    type: object
-                  type: array
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 瀹夎鎻掍欢
-      tags:
-      - AutoCode
-  /autoCode/preview:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 棰勮鍒涘缓浠g爜
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.AutoCodeStruct'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 棰勮鍒涘缓鍚庣殑浠g爜
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 棰勮鍒涘缓鍚庣殑浠g爜
-      tags:
-      - AutoCode
-  /autoCode/pubPlug:
-    get:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鎵撳寘鎻掍欢
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysAutoCode'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鎵撳寘鎻掍欢鎴愬姛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鎵撳寘鎻掍欢
-      tags:
-      - AutoCode
-  /autoCode/rollback:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 璇锋眰鍙傛暟
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.RollBack'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍥炴粴鑷姩鐢熸垚浠g爜
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍥炴粴鑷姩鐢熸垚浠g爜
-      tags:
-      - AutoCode
-  /base/captcha:
-    post:
-      consumes:
-      - application/json
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鐢熸垚楠岃瘉鐮�,杩斿洖鍖呮嫭闅忔満鏁癷d,base64,楠岃瘉鐮侀暱搴�,鏄惁寮�鍚獙璇佺爜
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.SysCaptchaResponse'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鐢熸垚楠岃瘉鐮�
-      tags:
-      - Base
-  /base/login:
-    post:
-      parameters:
-      - description: 鐢ㄦ埛鍚�, 瀵嗙爜, 楠岃瘉鐮�
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.Login'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 杩斿洖鍖呮嫭鐢ㄦ埛淇℃伅,token,杩囨湡鏃堕棿
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.LoginResponse'
-                msg:
-                  type: string
-              type: object
-      summary: 鐢ㄦ埛鐧诲綍
-      tags:
-      - Base
-  /casbin/UpdateCasbin:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鏉冮檺id, 鏉冮檺妯″瀷鍒楄〃
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.CasbinInReceive'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鏇存柊瑙掕壊api鏉冮檺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鏇存柊瑙掕壊api鏉冮檺
-      tags:
-      - Casbin
-  /casbin/getPolicyPathByAuthorityId:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鏉冮檺id, 鏉冮檺妯″瀷鍒楄〃
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.CasbinInReceive'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鑾峰彇鏉冮檺鍒楄〃,杩斿洖鍖呮嫭casbin璇︽儏鍒楄〃
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.PolicyPathResponse'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鑾峰彇鏉冮檺鍒楄〃
-      tags:
-      - Casbin
   /con/createContract:
     post:
       consumes:
@@ -2657,17 +984,14 @@
       summary: 鎵归噺鍒犻櫎Contract
       tags:
       - Contract
-  /con/findContract:
+  /con/downloadContract:
     get:
       consumes:
       - application/json
       parameters:
-      - collectionFormat: csv
-        in: query
-        items:
-          type: integer
-        name: fileContent
-        type: array
+      - in: query
+        name: created_at
+        type: string
       - in: query
         name: fileName
         type: string
@@ -2678,6 +1002,42 @@
       - in: query
         name: supplierID
         type: integer
+      - in: query
+        name: updated_at
+        type: string
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: '{"success":true,"data":{},"msg":"涓嬭浇鎴愬姛"}'
+          schema:
+            type: string
+      security:
+      - ApiKeyAuth: []
+      summary: 涓嬭浇Contract
+      tags:
+      - Contract
+  /con/findContract:
+    get:
+      consumes:
+      - application/json
+      parameters:
+      - in: query
+        name: created_at
+        type: string
+      - in: query
+        name: fileName
+        type: string
+      - description: 涓婚敭ID
+        in: query
+        name: id
+        type: integer
+      - in: query
+        name: supplierID
+        type: integer
+      - in: query
+        name: updated_at
+        type: string
       produces:
       - application/json
       responses:
@@ -2696,14 +1056,11 @@
       - application/json
       parameters:
       - in: query
+        name: created_at
+        type: string
+      - in: query
         name: endCreatedAt
         type: string
-      - collectionFormat: csv
-        in: query
-        items:
-          type: integer
-        name: fileContent
-        type: array
       - in: query
         name: fileName
         type: string
@@ -2729,6 +1086,9 @@
       - in: query
         name: supplierID
         type: integer
+      - in: query
+        name: updated_at
+        type: string
       produces:
       - application/json
       responses:
@@ -2746,12 +1106,9 @@
       consumes:
       - application/json
       parameters:
-      - collectionFormat: csv
-        in: query
-        items:
-          type: integer
-        name: fileContent
-        type: array
+      - in: query
+        name: created_at
+        type: string
       - in: query
         name: fileName
         type: string
@@ -2762,6 +1119,9 @@
       - in: query
         name: supplierID
         type: integer
+      - in: query
+        name: updated_at
+        type: string
       produces:
       - application/json
       responses:
@@ -2797,370 +1157,6 @@
       summary: 鏇存柊Contract
       tags:
       - Contract
-  /customer/customer:
-    delete:
-      consumes:
-      - application/json
-      parameters:
-      - description: 瀹㈡埛ID
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/example.ExaCustomer'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎瀹㈡埛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒犻櫎瀹㈡埛
-      tags:
-      - ExaCustomer
-    get:
-      consumes:
-      - application/json
-      parameters:
-      - description: 瀹㈡埛鍚�
-        in: query
-        name: customerName
-        type: string
-      - description: 瀹㈡埛鎵嬫満鍙�
-        in: query
-        name: customerPhoneData
-        type: string
-      - description: 涓婚敭ID
-        in: query
-        name: id
-        type: integer
-      - description: 绠$悊瑙掕壊ID
-        in: query
-        name: sysUserAuthorityID
-        type: integer
-      - description: 绠$悊ID
-        in: query
-        name: sysUserId
-        type: integer
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鑾峰彇鍗曚竴瀹㈡埛淇℃伅,杩斿洖鍖呮嫭瀹㈡埛璇︽儏
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.ExaCustomerResponse'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鑾峰彇鍗曚竴瀹㈡埛淇℃伅
-      tags:
-      - ExaCustomer
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 瀹㈡埛鐢ㄦ埛鍚�, 瀹㈡埛鎵嬫満鍙风爜
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/example.ExaCustomer'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒涘缓瀹㈡埛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒涘缓瀹㈡埛
-      tags:
-      - ExaCustomer
-    put:
-      consumes:
-      - application/json
-      parameters:
-      - description: 瀹㈡埛ID, 瀹㈡埛淇℃伅
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/example.ExaCustomer'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鏇存柊瀹㈡埛淇℃伅
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鏇存柊瀹㈡埛淇℃伅
-      tags:
-      - ExaCustomer
-  /customer/customerList:
-    get:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鍏抽敭瀛�
-        in: query
-        name: keyword
-        type: string
-      - description: 椤电爜
-        in: query
-        name: page
-        type: integer
-      - description: 姣忛〉澶у皬
-        in: query
-        name: pageSize
-        type: integer
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒嗛〉鑾峰彇鏉冮檺瀹㈡埛鍒楄〃,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.PageResult'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒嗛〉鑾峰彇鏉冮檺瀹㈡埛鍒楄〃
-      tags:
-      - ExaCustomer
-  /email/emailTest:
-    post:
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: '{"success":true,"data":{},"msg":"鍙戦�佹垚鍔�"}'
-          schema:
-            type: string
-      security:
-      - ApiKeyAuth: []
-      summary: 鍙戦�佹祴璇曢偖浠�
-      tags:
-      - System
-  /email/sendEmail:
-    post:
-      parameters:
-      - description: 鍙戦�侀偖浠跺繀椤荤殑鍙傛暟
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/response.Email'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: '{"success":true,"data":{},"msg":"鍙戦�佹垚鍔�"}'
-          schema:
-            type: string
-      security:
-      - ApiKeyAuth: []
-      summary: 鍙戦�侀偖浠�
-      tags:
-      - System
-  /fileUploadAndDownload/breakpointContinue:
-    post:
-      consumes:
-      - multipart/form-data
-      parameters:
-      - description: an example for breakpoint resume, 鏂偣缁紶绀轰緥
-        in: formData
-        name: file
-        required: true
-        type: file
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鏂偣缁紶鍒版湇鍔″櫒
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鏂偣缁紶鍒版湇鍔″櫒
-      tags:
-      - ExaFileUploadAndDownload
-  /fileUploadAndDownload/deleteFile:
-    post:
-      parameters:
-      - description: 浼犲叆鏂囦欢閲岄潰id鍗冲彲
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/example.ExaFileUploadAndDownload'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎鏂囦欢
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒犻櫎鏂囦欢
-      tags:
-      - ExaFileUploadAndDownload
-  /fileUploadAndDownload/findFile:
-    post:
-      consumes:
-      - multipart/form-data
-      parameters:
-      - description: 涓婁紶鏂囦欢瀹屾垚
-        in: formData
-        name: file
-        required: true
-        type: file
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒涘缓鏂囦欢,杩斿洖鍖呮嫭鏂囦欢璺緞
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.FilePathResponse'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒涘缓鏂囦欢
-      tags:
-      - ExaFileUploadAndDownload
-  /fileUploadAndDownload/getFileList:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 椤电爜, 姣忛〉澶у皬
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.PageInfo'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒嗛〉鏂囦欢鍒楄〃,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.PageResult'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒嗛〉鏂囦欢鍒楄〃
-      tags:
-      - ExaFileUploadAndDownload
-  /fileUploadAndDownload/removeChunk:
-    post:
-      consumes:
-      - multipart/form-data
-      parameters:
-      - description: 鍒犻櫎缂撳瓨鍒囩墖
-        in: formData
-        name: file
-        required: true
-        type: file
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎鍒囩墖
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒犻櫎鍒囩墖
-      tags:
-      - ExaFileUploadAndDownload
-  /fileUploadAndDownload/upload:
-    post:
-      consumes:
-      - multipart/form-data
-      parameters:
-      - description: 涓婁紶鏂囦欢绀轰緥
-        in: formData
-        name: file
-        required: true
-        type: file
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 涓婁紶鏂囦欢绀轰緥,杩斿洖鍖呮嫭鏂囦欢璇︽儏
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.ExaFileResponse'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 涓婁紶鏂囦欢绀轰緥
-      tags:
-      - ExaFileUploadAndDownload
   /i/createIndustry:
     post:
       consumes:
@@ -3235,12 +1231,18 @@
       consumes:
       - application/json
       parameters:
+      - in: query
+        name: created_at
+        type: string
       - description: 涓婚敭ID
         in: query
         name: id
         type: integer
       - in: query
         name: name
+        type: string
+      - in: query
+        name: updated_at
         type: string
       produces:
       - application/json
@@ -3259,6 +1261,9 @@
       consumes:
       - application/json
       parameters:
+      - in: query
+        name: created_at
+        type: string
       - in: query
         name: endCreatedAt
         type: string
@@ -3283,6 +1288,9 @@
         type: integer
       - in: query
         name: startCreatedAt
+        type: string
+      - in: query
+        name: updated_at
         type: string
       produces:
       - application/json
@@ -3319,330 +1327,242 @@
       summary: 鏇存柊Industry
       tags:
       - Industry
-  /init/checkdb:
-    post:
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒濆鍖栫敤鎴锋暟鎹簱
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      summary: 鍒濆鍖栫敤鎴锋暟鎹簱
-      tags:
-      - CheckDB
-  /init/initdb:
-    post:
-      parameters:
-      - description: 鍒濆鍖栨暟鎹簱鍙傛暟
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.InitDB'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒濆鍖栫敤鎴锋暟鎹簱
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  type: string
-              type: object
-      summary: 鍒濆鍖栫敤鎴锋暟鎹簱
-      tags:
-      - InitDB
-  /jwt/jsonInBlacklist:
-    post:
-      consumes:
-      - application/json
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: jwt鍔犲叆榛戝悕鍗�
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: jwt鍔犲叆榛戝悕鍗�
-      tags:
-      - Jwt
-  /menu/addBaseMenu:
+  /m/createMember:
     post:
       consumes:
       - application/json
       parameters:
-      - description: 璺敱path, 鐖惰彍鍗旾D, 璺敱name, 瀵瑰簲鍓嶇鏂囦欢璺緞, 鎺掑簭鏍囪
+      - description: 鍒涘缓Member
         in: body
         name: data
         required: true
         schema:
-          $ref: '#/definitions/system.SysBaseMenu'
+          $ref: '#/definitions/test.Member'
       produces:
       - application/json
       responses:
         "200":
-          description: 鏂板鑿滃崟
+          description: '{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}'
           schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
+            type: string
       security:
       - ApiKeyAuth: []
-      summary: 鏂板鑿滃崟
+      summary: 鍒涘缓Member
       tags:
-      - Menu
-  /menu/addMenuAuthority:
-    post:
+      - Member
+  /m/deleteMember:
+    delete:
       consumes:
       - application/json
       parameters:
-      - description: 瑙掕壊ID
+      - description: 鍒犻櫎Member
         in: body
         name: data
         required: true
         schema:
-          $ref: '#/definitions/request.AddMenuAuthorityInfo'
+          $ref: '#/definitions/test.Member'
       produces:
       - application/json
       responses:
         "200":
-          description: 澧炲姞menu鍜岃鑹插叧鑱斿叧绯�
+          description: '{"success":true,"data":{},"msg":"鍒犻櫎鎴愬姛"}'
           schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
+            type: string
       security:
       - ApiKeyAuth: []
-      summary: 澧炲姞menu鍜岃鑹插叧鑱斿叧绯�
+      summary: 鍒犻櫎Member
       tags:
-      - AuthorityMenu
-  /menu/deleteBaseMenu:
-    post:
+      - Member
+  /m/deleteMemberByIds:
+    delete:
       consumes:
       - application/json
       parameters:
-      - description: 鑿滃崟id
+      - description: 鎵归噺鍒犻櫎Member
         in: body
         name: data
         required: true
         schema:
-          $ref: '#/definitions/request.GetById'
+          $ref: '#/definitions/request.IdsReq'
       produces:
       - application/json
       responses:
         "200":
-          description: 鍒犻櫎鑿滃崟
+          description: '{"success":true,"data":{},"msg":"鎵归噺鍒犻櫎鎴愬姛"}'
           schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
+            type: string
       security:
       - ApiKeyAuth: []
-      summary: 鍒犻櫎鑿滃崟
+      summary: 鎵归噺鍒犻櫎Member
       tags:
-      - Menu
-  /menu/getBaseMenuById:
-    post:
+      - Member
+  /m/findMember:
+    get:
       consumes:
       - application/json
       parameters:
-      - description: 鑿滃崟id
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.GetById'
+      - in: query
+        name: created_at
+        type: string
+      - description: 涓婚敭ID
+        in: query
+        name: id
+        type: integer
+      - in: query
+        name: nickname
+        type: string
+      - in: query
+        name: updated_at
+        type: string
+      - in: query
+        name: userName
+        type: string
+      - in: query
+        name: uuid
+        type: string
       produces:
       - application/json
       responses:
         "200":
-          description: 鏍规嵁id鑾峰彇鑿滃崟,杩斿洖鍖呮嫭绯荤粺鑿滃崟鍒楄〃
+          description: '{"success":true,"data":{},"msg":"鏌ヨ鎴愬姛"}'
           schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.SysBaseMenuResponse'
-                msg:
-                  type: string
-              type: object
+            type: string
       security:
       - ApiKeyAuth: []
-      summary: 鏍规嵁id鑾峰彇鑿滃崟
+      summary: 鐢╥d鏌ヨMember
       tags:
-      - Menu
-  /menu/getBaseMenuTree:
-    post:
-      parameters:
-      - description: 绌�
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.Empty'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鑾峰彇鐢ㄦ埛鍔ㄦ�佽矾鐢�,杩斿洖鍖呮嫭绯荤粺鑿滃崟鍒楄〃
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.SysBaseMenusResponse'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鑾峰彇鐢ㄦ埛鍔ㄦ�佽矾鐢�
-      tags:
-      - AuthorityMenu
-  /menu/getMenu:
-    post:
-      parameters:
-      - description: 绌�
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.Empty'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鑾峰彇鐢ㄦ埛鍔ㄦ�佽矾鐢�,杩斿洖鍖呮嫭绯荤粺鑿滃崟璇︽儏鍒楄〃
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.SysMenusResponse'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鑾峰彇鐢ㄦ埛鍔ㄦ�佽矾鐢�
-      tags:
-      - AuthorityMenu
-  /menu/getMenuAuthority:
-    post:
+      - Member
+  /m/getMemberList:
+    get:
       consumes:
       - application/json
       parameters:
-      - description: 瑙掕壊ID
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.GetAuthorityId'
+      - in: query
+        name: created_at
+        type: string
+      - in: query
+        name: endCreatedAt
+        type: string
+      - description: 涓婚敭ID
+        in: query
+        name: id
+        type: integer
+      - description: 鍏抽敭瀛�
+        in: query
+        name: keyword
+        type: string
+      - in: query
+        name: nickname
+        type: string
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - in: query
+        name: startCreatedAt
+        type: string
+      - in: query
+        name: updated_at
+        type: string
+      - in: query
+        name: userName
+        type: string
+      - in: query
+        name: uuid
+        type: string
       produces:
       - application/json
       responses:
         "200":
-          description: 鑾峰彇鎸囧畾瑙掕壊menu
+          description: '{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}'
           schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
+            type: string
       security:
       - ApiKeyAuth: []
-      summary: 鑾峰彇鎸囧畾瑙掕壊menu
+      summary: 鍒嗛〉鑾峰彇Member鍒楄〃
       tags:
-      - AuthorityMenu
-  /menu/getMenuList:
-    post:
+      - Member
+  /m/getMemberListFromGrpc:
+    get:
       consumes:
       - application/json
       parameters:
-      - description: 椤电爜, 姣忛〉澶у皬
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.PageInfo'
+      - in: query
+        name: created_at
+        type: string
+      - in: query
+        name: endCreatedAt
+        type: string
+      - description: 涓婚敭ID
+        in: query
+        name: id
+        type: integer
+      - description: 鍏抽敭瀛�
+        in: query
+        name: keyword
+        type: string
+      - in: query
+        name: nickname
+        type: string
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - in: query
+        name: startCreatedAt
+        type: string
+      - in: query
+        name: updated_at
+        type: string
+      - in: query
+        name: userName
+        type: string
+      - in: query
+        name: uuid
+        type: string
       produces:
       - application/json
       responses:
         "200":
-          description: 鍒嗛〉鑾峰彇鍩虹menu鍒楄〃,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
+          description: '{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}'
           schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.PageResult'
-                msg:
-                  type: string
-              type: object
+            type: string
       security:
       - ApiKeyAuth: []
-      summary: 鍒嗛〉鑾峰彇鍩虹menu鍒楄〃
+      summary: 鍒嗛〉鑾峰彇Member鍒楄〃
       tags:
-      - Menu
-  /menu/updateBaseMenu:
-    post:
+      - Member
+  /m/updateMember:
+    put:
       consumes:
       - application/json
       parameters:
-      - description: 璺敱path, 鐖惰彍鍗旾D, 璺敱name, 瀵瑰簲鍓嶇鏂囦欢璺緞, 鎺掑簭鏍囪
+      - description: 鏇存柊Member
         in: body
         name: data
         required: true
         schema:
-          $ref: '#/definitions/system.SysBaseMenu'
+          $ref: '#/definitions/test.Member'
       produces:
       - application/json
       responses:
         "200":
-          description: 鏇存柊鑿滃崟
+          description: '{"success":true,"data":{},"msg":"鏇存柊鎴愬姛"}'
           schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
+            type: string
       security:
       - ApiKeyAuth: []
-      summary: 鏇存柊鑿滃崟
+      summary: 鏇存柊Member
       tags:
-      - Menu
+      - Member
   /p/createProduct:
     post:
       consumes:
@@ -3653,7 +1573,7 @@
         name: data
         required: true
         schema:
-          $ref: '#/definitions/test.Product'
+          $ref: '#/definitions/request.ProductCreate'
       produces:
       - application/json
       responses:
@@ -3676,7 +1596,7 @@
         name: data
         required: true
         schema:
-          $ref: '#/definitions/test.Product'
+          $ref: '#/definitions/request.GetById'
       produces:
       - application/json
       responses:
@@ -3717,40 +1637,10 @@
       consumes:
       - application/json
       parameters:
-      - in: query
-        name: deliveryTime
-        type: integer
       - description: 涓婚敭ID
         in: query
         name: id
         type: integer
-      - in: query
-        name: maximumStock
-        type: integer
-      - in: query
-        name: minimumStock
-        type: integer
-      - in: query
-        name: name
-        type: string
-      - in: query
-        name: number
-        type: string
-      - in: query
-        name: productType
-        type: string
-      - in: query
-        name: purchasePrice
-        type: number
-      - in: query
-        name: remark
-        type: string
-      - in: query
-        name: shippingDuration
-        type: integer
-      - in: query
-        name: unit
-        type: string
       produces:
       - application/json
       responses:
@@ -3769,25 +1659,18 @@
       - application/json
       parameters:
       - in: query
-        name: deliveryTime
-        type: integer
-      - in: query
-        name: endCreatedAt
+        name: categoryName
         type: string
-      - description: 涓婚敭ID
-        in: query
-        name: id
+      - in: query
+        name: deliveryTime
         type: integer
       - description: 鍏抽敭瀛�
         in: query
         name: keyword
         type: string
       - in: query
-        name: maximumStock
-        type: integer
-      - in: query
-        name: minimumStock
-        type: integer
+        name: modelNumber
+        type: string
       - in: query
         name: name
         type: string
@@ -3803,19 +1686,25 @@
         name: pageSize
         type: integer
       - in: query
-        name: productType
-        type: string
-      - in: query
         name: purchasePrice
         type: number
-      - in: query
-        name: remark
-        type: string
       - in: query
         name: shippingDuration
         type: integer
       - in: query
-        name: startCreatedAt
+        name: specifications
+        type: string
+      - in: query
+        name: supplier
+        type: string
+      - in: query
+        name: supplierId
+        type: integer
+      - in: query
+        name: supplierName
+        type: string
+      - in: query
+        name: supplierNumber
         type: string
       - in: query
         name: unit
@@ -3838,25 +1727,18 @@
       - application/json
       parameters:
       - in: query
-        name: deliveryTime
-        type: integer
-      - in: query
-        name: endCreatedAt
+        name: categoryName
         type: string
-      - description: 涓婚敭ID
-        in: query
-        name: id
+      - in: query
+        name: deliveryTime
         type: integer
       - description: 鍏抽敭瀛�
         in: query
         name: keyword
         type: string
       - in: query
-        name: maximumStock
-        type: integer
-      - in: query
-        name: minimumStock
-        type: integer
+        name: modelNumber
+        type: string
       - in: query
         name: name
         type: string
@@ -3872,19 +1754,25 @@
         name: pageSize
         type: integer
       - in: query
-        name: productType
-        type: string
-      - in: query
         name: purchasePrice
         type: number
-      - in: query
-        name: remark
-        type: string
       - in: query
         name: shippingDuration
         type: integer
       - in: query
-        name: startCreatedAt
+        name: specifications
+        type: string
+      - in: query
+        name: supplier
+        type: string
+      - in: query
+        name: supplierId
+        type: integer
+      - in: query
+        name: supplierName
+        type: string
+      - in: query
+        name: supplierNumber
         type: string
       - in: query
         name: unit
@@ -3911,7 +1799,7 @@
         name: data
         required: true
         schema:
-          $ref: '#/definitions/test.Product'
+          $ref: '#/definitions/test.SupplierMaterial'
       produces:
       - application/json
       responses:
@@ -3924,6 +1812,278 @@
       summary: 鏇存柊Product
       tags:
       - Product
+  /purchase/purchase:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 閲囪喘鍗�,閲囪喘鍗曚骇鍝�
+        in: body
+        name: data
+        required: true
+        schema:
+          $ref: '#/definitions/purchaserequest.AddPurchase'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鍒涘缓閲囪喘鍗�
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                msg:
+                  type: string
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鍒涘缓閲囪喘鍗�
+      tags:
+      - Purchase
+    put:
+      consumes:
+      - application/json
+      parameters:
+      - description: 閲囪喘鍗旾D, 閲囪喘鍗曚俊鎭�
+        in: body
+        name: data
+        required: true
+        schema:
+          $ref: '#/definitions/purchaserequest.UpdatePurchase'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鏇存柊閲囪喘鍗曚俊鎭�
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                msg:
+                  type: string
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鏇存柊閲囪喘鍗曚俊鎭�
+      tags:
+      - Purchase
+  /purchase/purchase/{id}:
+    delete:
+      consumes:
+      - application/json
+      parameters:
+      - description: 閲囪喘鍗旾D
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鍒犻櫎閲囪喘鍗�
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                msg:
+                  type: string
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鍒犻櫎閲囪喘鍗�
+      tags:
+      - Purchase
+    get:
+      consumes:
+      - application/json
+      parameters:
+      - description: 閲囪喘鍗旾D
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鑾峰彇鍗曚竴閲囪喘鍗曚俊鎭�,杩斿洖鍖呮嫭閲囪喘鍗曡鎯�
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                data:
+                  $ref: '#/definitions/response.PurchaseResponse'
+                msg:
+                  type: string
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鑾峰彇鍗曚竴閲囪喘鍗曚俊鎭�
+      tags:
+      - Purchase
+  /purchase/purchaseList:
+    get:
+      consumes:
+      - application/json
+      parameters:
+      - description: 鍏抽敭瀛�
+        in: query
+        name: keyword
+        type: string
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - description: 渚涘簲鍟唅d
+        in: query
+        name: supplierId
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鍒嗛〉鑾峰彇閲囪喘鍗曞垪琛�,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                data:
+                  $ref: '#/definitions/response.PageResult'
+                msg:
+                  type: string
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鍒嗛〉鑾峰彇閲囪喘鍗曞垪琛�
+      tags:
+      - Purchase
+  /purchase/purchaseType:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 閲囪喘绫诲瀷list
+        in: body
+        name: data
+        required: true
+        schema:
+          items:
+            $ref: '#/definitions/purchaserequest.PurchaseType'
+          type: array
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鍒涘缓閲囪喘绫诲瀷
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                msg:
+                  type: string
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鍒涘缓閲囪喘绫诲瀷
+      tags:
+      - Purchase
+  /purchase/purchaseTypeList:
+    get:
+      consumes:
+      - application/json
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鑾峰彇閲囪喘绫诲瀷鍒楄〃
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/purchase.PurchaseType'
+                  type: array
+                msg:
+                  type: string
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鑾峰彇閲囪喘绫诲瀷鍒楄〃
+      tags:
+      - Purchase
+  /purchase/qualityInspectList:
+    get:
+      consumes:
+      - application/json
+      parameters:
+      - description: 鍏抽敭瀛�
+        in: query
+        name: keyword
+        type: string
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - description: 渚涘簲鍟唅d
+        in: query
+        name: supplierId
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鍒嗛〉鑾峰彇璐ㄦ鍗曞垪琛�,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                data:
+                  $ref: '#/definitions/response.PageResult'
+                msg:
+                  type: string
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鍒嗛〉鑾峰彇璐ㄦ鍗曞垪琛�
+      tags:
+      - QualityInspect
+  /purchase/submit:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 閲囪喘鍗旾D
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: 鎻愪氦閲囪喘鍗�
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.Response'
+            - properties:
+                msg:
+                  type: string
+              type: object
+      security:
+      - ApiKeyAuth: []
+      summary: 鎻愪氦閲囪喘鍗�
+      tags:
+      - Purchase
   /s/changeSupplierStatus:
     post:
       consumes:
@@ -4034,6 +2194,9 @@
         name: contact
         type: string
       - in: query
+        name: created_at
+        type: string
+      - in: query
         name: detailAddress
         type: string
       - in: query
@@ -4059,13 +2222,16 @@
         name: phone
         type: string
       - in: query
-        name: responsiblePersonId
-        type: integer
+        name: responsiblePersonName
+        type: string
       - in: query
         name: status
         type: integer
       - in: query
         name: supplierType
+        type: string
+      - in: query
+        name: updated_at
         type: string
       - in: query
         name: url
@@ -4098,6 +2264,9 @@
         type: string
       - in: query
         name: contact
+        type: string
+      - in: query
+        name: created_at
         type: string
       - in: query
         name: detailAddress
@@ -4140,8 +2309,8 @@
         name: phone
         type: string
       - in: query
-        name: responsiblePersonId
-        type: integer
+        name: responsiblePersonName
+        type: string
       - in: query
         name: startCreatedAt
         type: string
@@ -4150,6 +2319,9 @@
         type: integer
       - in: query
         name: supplierType
+        type: string
+      - in: query
+        name: updated_at
         type: string
       - in: query
         name: url
@@ -4263,12 +2435,18 @@
       consumes:
       - application/json
       parameters:
+      - in: query
+        name: created_at
+        type: string
       - description: 涓婚敭ID
         in: query
         name: id
         type: integer
       - in: query
         name: name
+        type: string
+      - in: query
+        name: updated_at
         type: string
       produces:
       - application/json
@@ -4287,6 +2465,9 @@
       consumes:
       - application/json
       parameters:
+      - in: query
+        name: created_at
+        type: string
       - in: query
         name: endCreatedAt
         type: string
@@ -4311,6 +2492,9 @@
         type: integer
       - in: query
         name: startCreatedAt
+        type: string
+      - in: query
+        name: updated_at
         type: string
       produces:
       - application/json
@@ -4347,617 +2531,6 @@
       summary: 鏇存柊SupplierType
       tags:
       - SupplierType
-  /sysDictionary/createSysDictionary:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: SysDictionary妯″瀷
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysDictionary'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒涘缓SysDictionary
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒涘缓SysDictionary
-      tags:
-      - SysDictionary
-  /sysDictionary/deleteSysDictionary:
-    delete:
-      consumes:
-      - application/json
-      parameters:
-      - description: SysDictionary妯″瀷
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysDictionary'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎SysDictionary
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒犻櫎SysDictionary
-      tags:
-      - SysDictionary
-  /sysDictionary/findSysDictionary:
-    get:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鎻忚堪
-        in: query
-        name: desc
-        type: string
-      - description: 涓婚敭ID
-        in: query
-        name: id
-        type: integer
-      - description: 瀛楀吀鍚嶏紙涓級
-        in: query
-        name: name
-        type: string
-      - description: 鐘舵��
-        in: query
-        name: status
-        type: boolean
-      - description: 瀛楀吀鍚嶏紙鑻憋級
-        in: query
-        name: type
-        type: string
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鐢╥d鏌ヨSysDictionary
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鐢╥d鏌ヨSysDictionary
-      tags:
-      - SysDictionary
-  /sysDictionary/getSysDictionaryList:
-    get:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鎻忚堪
-        in: query
-        name: desc
-        type: string
-      - description: 涓婚敭ID
-        in: query
-        name: id
-        type: integer
-      - description: 鍏抽敭瀛�
-        in: query
-        name: keyword
-        type: string
-      - description: 瀛楀吀鍚嶏紙涓級
-        in: query
-        name: name
-        type: string
-      - description: 椤电爜
-        in: query
-        name: page
-        type: integer
-      - description: 姣忛〉澶у皬
-        in: query
-        name: pageSize
-        type: integer
-      - description: 鐘舵��
-        in: query
-        name: status
-        type: boolean
-      - description: 瀛楀吀鍚嶏紙鑻憋級
-        in: query
-        name: type
-        type: string
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒嗛〉鑾峰彇SysDictionary鍒楄〃,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.PageResult'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒嗛〉鑾峰彇SysDictionary鍒楄〃
-      tags:
-      - SysDictionary
-  /sysDictionary/updateSysDictionary:
-    put:
-      consumes:
-      - application/json
-      parameters:
-      - description: SysDictionary妯″瀷
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysDictionary'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鏇存柊SysDictionary
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鏇存柊SysDictionary
-      tags:
-      - SysDictionary
-  /sysDictionaryDetail/createSysDictionaryDetail:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: SysDictionaryDetail妯″瀷
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysDictionaryDetail'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒涘缓SysDictionaryDetail
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒涘缓SysDictionaryDetail
-      tags:
-      - SysDictionaryDetail
-  /sysDictionaryDetail/deleteSysDictionaryDetail:
-    delete:
-      consumes:
-      - application/json
-      parameters:
-      - description: SysDictionaryDetail妯″瀷
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysDictionaryDetail'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎SysDictionaryDetail
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒犻櫎SysDictionaryDetail
-      tags:
-      - SysDictionaryDetail
-  /sysDictionaryDetail/findSysDictionaryDetail:
-    get:
-      consumes:
-      - application/json
-      parameters:
-      - description: 涓婚敭ID
-        in: query
-        name: id
-        type: integer
-      - description: 灞曠ず鍊�
-        in: query
-        name: label
-        type: string
-      - description: 鎺掑簭鏍囪
-        in: query
-        name: sort
-        type: integer
-      - description: 鍚敤鐘舵��
-        in: query
-        name: status
-        type: boolean
-      - description: 鍏宠仈鏍囪
-        in: query
-        name: sysDictionaryID
-        type: integer
-      - description: 瀛楀吀鍊�
-        in: query
-        name: value
-        type: integer
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鐢╥d鏌ヨSysDictionaryDetail
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鐢╥d鏌ヨSysDictionaryDetail
-      tags:
-      - SysDictionaryDetail
-  /sysDictionaryDetail/getSysDictionaryDetailList:
-    get:
-      consumes:
-      - application/json
-      parameters:
-      - description: 涓婚敭ID
-        in: query
-        name: id
-        type: integer
-      - description: 鍏抽敭瀛�
-        in: query
-        name: keyword
-        type: string
-      - description: 灞曠ず鍊�
-        in: query
-        name: label
-        type: string
-      - description: 椤电爜
-        in: query
-        name: page
-        type: integer
-      - description: 姣忛〉澶у皬
-        in: query
-        name: pageSize
-        type: integer
-      - description: 鎺掑簭鏍囪
-        in: query
-        name: sort
-        type: integer
-      - description: 鍚敤鐘舵��
-        in: query
-        name: status
-        type: boolean
-      - description: 鍏宠仈鏍囪
-        in: query
-        name: sysDictionaryID
-        type: integer
-      - description: 瀛楀吀鍊�
-        in: query
-        name: value
-        type: integer
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒嗛〉鑾峰彇SysDictionaryDetail鍒楄〃,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.PageResult'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒嗛〉鑾峰彇SysDictionaryDetail鍒楄〃
-      tags:
-      - SysDictionaryDetail
-  /sysDictionaryDetail/updateSysDictionaryDetail:
-    put:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鏇存柊SysDictionaryDetail
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysDictionaryDetail'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鏇存柊SysDictionaryDetail
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鏇存柊SysDictionaryDetail
-      tags:
-      - SysDictionaryDetail
-  /sysOperationRecord/createSysOperationRecord:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鍒涘缓SysOperationRecord
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysOperationRecord'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒涘缓SysOperationRecord
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒涘缓SysOperationRecord
-      tags:
-      - SysOperationRecord
-  /sysOperationRecord/deleteSysOperationRecord:
-    delete:
-      consumes:
-      - application/json
-      parameters:
-      - description: SysOperationRecord妯″瀷
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysOperationRecord'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎SysOperationRecord
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒犻櫎SysOperationRecord
-      tags:
-      - SysOperationRecord
-  /sysOperationRecord/deleteSysOperationRecordByIds:
-    delete:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鎵归噺鍒犻櫎SysOperationRecord
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.IdsReq'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鎵归噺鍒犻櫎SysOperationRecord
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鎵归噺鍒犻櫎SysOperationRecord
-      tags:
-      - SysOperationRecord
-  /sysOperationRecord/findSysOperationRecord:
-    get:
-      consumes:
-      - application/json
-      parameters:
-      - description: 浠g悊
-        in: query
-        name: agent
-        type: string
-      - description: 璇锋眰Body
-        in: query
-        name: body
-        type: string
-      - description: 閿欒淇℃伅
-        in: query
-        name: error_message
-        type: string
-      - description: 涓婚敭ID
-        in: query
-        name: id
-        type: integer
-      - description: 璇锋眰ip
-        in: query
-        name: ip
-        type: string
-      - description: 寤惰繜
-        in: query
-        name: latency
-        type: string
-      - description: 璇锋眰鏂规硶
-        in: query
-        name: method
-        type: string
-      - description: 璇锋眰璺緞
-        in: query
-        name: path
-        type: string
-      - description: 鍝嶅簲Body
-        in: query
-        name: resp
-        type: string
-      - description: 璇锋眰鐘舵��
-        in: query
-        name: status
-        type: integer
-      - description: 鐢ㄦ埛id
-        in: query
-        name: user_id
-        type: integer
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鐢╥d鏌ヨSysOperationRecord
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鐢╥d鏌ヨSysOperationRecord
-      tags:
-      - SysOperationRecord
-  /sysOperationRecord/getSysOperationRecordList:
-    get:
-      consumes:
-      - application/json
-      parameters:
-      - description: 浠g悊
-        in: query
-        name: agent
-        type: string
-      - description: 璇锋眰Body
-        in: query
-        name: body
-        type: string
-      - description: 閿欒淇℃伅
-        in: query
-        name: error_message
-        type: string
-      - description: 涓婚敭ID
-        in: query
-        name: id
-        type: integer
-      - description: 璇锋眰ip
-        in: query
-        name: ip
-        type: string
-      - description: 鍏抽敭瀛�
-        in: query
-        name: keyword
-        type: string
-      - description: 寤惰繜
-        in: query
-        name: latency
-        type: string
-      - description: 璇锋眰鏂规硶
-        in: query
-        name: method
-        type: string
-      - description: 椤电爜
-        in: query
-        name: page
-        type: integer
-      - description: 姣忛〉澶у皬
-        in: query
-        name: pageSize
-        type: integer
-      - description: 璇锋眰璺緞
-        in: query
-        name: path
-        type: string
-      - description: 鍝嶅簲Body
-        in: query
-        name: resp
-        type: string
-      - description: 璇锋眰鐘舵��
-        in: query
-        name: status
-        type: integer
-      - description: 鐢ㄦ埛id
-        in: query
-        name: user_id
-        type: integer
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒嗛〉鑾峰彇SysOperationRecord鍒楄〃,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.PageResult'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒嗛〉鑾峰彇SysOperationRecord鍒楄〃
-      tags:
-      - SysOperationRecord
   /system/getServerInfo:
     post:
       produces:
@@ -4992,7 +2565,7 @@
             - $ref: '#/definitions/response.Response'
             - properties:
                 data:
-                  $ref: '#/definitions/response.SysConfigResponse'
+                  $ref: '#/definitions/system.System'
                 msg:
                   type: string
               type: object
@@ -5046,284 +2619,6 @@
       summary: 璁剧疆閰嶇疆鏂囦欢鍐呭
       tags:
       - System
-  /user/SetSelfInfo:
-    put:
-      consumes:
-      - application/json
-      parameters:
-      - description: ID, 鐢ㄦ埛鍚�, 鏄电О, 澶村儚閾炬帴
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysUser'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 璁剧疆鐢ㄦ埛淇℃伅
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 璁剧疆鐢ㄦ埛淇℃伅
-      tags:
-      - SysUser
-  /user/admin_register:
-    post:
-      parameters:
-      - description: 鐢ㄦ埛鍚�, 鏄电О, 瀵嗙爜, 瑙掕壊ID
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.Register'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鐢ㄦ埛娉ㄥ唽璐﹀彿,杩斿洖鍖呮嫭鐢ㄦ埛淇℃伅
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.SysUserResponse'
-                msg:
-                  type: string
-              type: object
-      summary: 鐢ㄦ埛娉ㄥ唽璐﹀彿
-      tags:
-      - SysUser
-  /user/changePassword:
-    post:
-      parameters:
-      - description: 鐢ㄦ埛鍚�, 鍘熷瘑鐮�, 鏂板瘑鐮�
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.ChangePasswordReq'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鐢ㄦ埛淇敼瀵嗙爜
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鐢ㄦ埛淇敼瀵嗙爜
-      tags:
-      - SysUser
-  /user/deleteUser:
-    delete:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鐢ㄦ埛ID
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.GetById'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒犻櫎鐢ㄦ埛
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒犻櫎鐢ㄦ埛
-      tags:
-      - SysUser
-  /user/getUserInfo:
-    get:
-      consumes:
-      - application/json
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鑾峰彇鐢ㄦ埛淇℃伅
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鑾峰彇鐢ㄦ埛淇℃伅
-      tags:
-      - SysUser
-  /user/getUserList:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 椤电爜, 姣忛〉澶у皬
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.PageInfo'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 鍒嗛〉鑾峰彇鐢ㄦ埛鍒楄〃,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  $ref: '#/definitions/response.PageResult'
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鍒嗛〉鑾峰彇鐢ㄦ埛鍒楄〃
-      tags:
-      - SysUser
-  /user/resetPassword:
-    post:
-      parameters:
-      - description: ID
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysUser'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 閲嶇疆鐢ㄦ埛瀵嗙爜
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 閲嶇疆鐢ㄦ埛瀵嗙爜
-      tags:
-      - SysUser
-  /user/setUserAuthorities:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鐢ㄦ埛UUID, 瑙掕壊ID
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.SetUserAuthorities'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 璁剧疆鐢ㄦ埛鏉冮檺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 璁剧疆鐢ㄦ埛鏉冮檺
-      tags:
-      - SysUser
-  /user/setUserAuthority:
-    post:
-      consumes:
-      - application/json
-      parameters:
-      - description: 鐢ㄦ埛UUID, 瑙掕壊ID
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/request.SetUserAuth'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 璁剧疆鐢ㄦ埛鏉冮檺
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 鏇存敼鐢ㄦ埛鏉冮檺
-      tags:
-      - SysUser
-  /user/setUserInfo:
-    put:
-      consumes:
-      - application/json
-      parameters:
-      - description: ID, 鐢ㄦ埛鍚�, 鏄电О, 澶村儚閾炬帴
-        in: body
-        name: data
-        required: true
-        schema:
-          $ref: '#/definitions/system.SysUser'
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: 璁剧疆鐢ㄦ埛淇℃伅
-          schema:
-            allOf:
-            - $ref: '#/definitions/response.Response'
-            - properties:
-                data:
-                  additionalProperties: true
-                  type: object
-                msg:
-                  type: string
-              type: object
-      security:
-      - ApiKeyAuth: []
-      summary: 璁剧疆鐢ㄦ埛淇℃伅
-      tags:
-      - SysUser
 securityDefinitions:
   ApiKeyAuth:
     in: header

--
Gitblit v1.8.0