浏览代码

用户端接口添加

huangyan 1 年之前
父节点
当前提交
e183b168b9

+ 1 - 1
README.md

@@ -123,5 +123,5 @@ server {
 
 ## 引入本地包
 配置ssh ssh-keygen -t rsa -b 4096 -C "example@example.com"
-git config --global url."git@gogs.baozhida.cn/Cold_Logistic_libs.git".insteadof "https://gogs.baozhida.cn/Cold_Logistic_libs.git"
+git config --global url."git@gogs.baozhida.cn/Cold_Logistic_libs.git".insteadof "https://gogs.baozhida.cn/zoie/Cold_Logistic_libs.git"
 go get "gogs.baozhida.cn/zoie/Cold_Logistic_libs.git@master" 

+ 1901 - 0
docs/docs.go

@@ -0,0 +1,1901 @@
+// Code generated by swaggo/swag. DO NOT EDIT
+package docs
+
+import "github.com/swaggo/swag"
+
+const docTemplate = `{
+    "schemes": {{ marshal .Schemes }},
+    "swagger": "2.0",
+    "info": {
+        "description": "{{escape .Description}}",
+        "title": "{{.Title}}",
+        "contact": {},
+        "version": "{{.Version}}"
+    },
+    "host": "{{.Host}}",
+    "basePath": "{{.BasePath}}",
+    "paths": {
+        "/address/add": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公共接口"
+                ],
+                "summary": "设备数据列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.SnDataListReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/auth/login": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "登录"
+                ],
+                "summary": "小程序登录",
+                "parameters": [
+                    {
+                        "description": "登录",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/authsrv.LoginReqVo"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/authsrv.LoginRespVo"
+                        }
+                    }
+                }
+            }
+        },
+        "/auth/loginOut": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "登录"
+                ],
+                "summary": "登出",
+                "responses": {
+                    "200": {
+                        "description": "success",
+                        "schema": {
+                            "type": "string"
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/auth/wechatCallback": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "登录"
+                ],
+                "summary": "获取微信返回的授权码",
+                "parameters": [
+                    {
+                        "description": "登录",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/authsrv.LoginReqVo"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/authsrv.LoginRespVo"
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/auth/wechatLogin": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "登录"
+                ],
+                "summary": "微信扫码登录",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/authsrv.LoginRespVo"
+                        }
+                    }
+                }
+            }
+        },
+        "/common/logisticList": {
+            "get": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公共接口"
+                ],
+                "summary": "物流公司列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.LogisticListReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/common/provinceList": {
+            "get": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公共接口"
+                ],
+                "summary": "省市区列表",
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/commonsrv.ProvinceListRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/driver/carInfo": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "司机"
+                ],
+                "summary": "车辆信息",
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/driversrv.DriverCarInfoRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/driver/orderIntoCar": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "司机"
+                ],
+                "summary": "装车",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/driversrv.OrderIntoCarReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/driversrv.OrderIntoCarRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/driver/signReceipt": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "司机"
+                ],
+                "summary": "签收",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/driversrv.ScanIntoReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/driversrv.SignReceiptRespVO"
+                        }
+                    },
+                    "400": {
+                        "description": "error",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/driver/taskPage": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "司机"
+                ],
+                "summary": "司机任务列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.TaskPageReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/address/add": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "添加寄件/收件人",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.AddAddressReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.AddressIdRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/address/delete": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "删除寄件/收件人",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.DeleteAddressReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.BaseResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/address/page": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "寄件/收件人列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.AddressPageReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/address/update": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "修改寄件/收件人",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.UpdateAddressReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.AddressIdRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/info": {
+            "get": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "个人信息",
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.AccountInfoVo"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/logisticCompany/add": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "物流公司添加",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.AddLogisticReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.LogisticIdRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/logisticCompany/delete": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "物流公司删除",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.DeleteLogisticReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.BaseResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/logisticCompany/page": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "物流公司列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.LogisticPageReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/orderDetail": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "订单详情",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.OrderDetailReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.OrderDetailRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/orderPage": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "订单列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.OrderPageReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/orderSubNo": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "订单揽件码",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.OrderSubNoReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.OrderSubNoRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/placeOrder": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "下单",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.PlaceOrderReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.PlaceOrderRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/refreshToken": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "刷新token",
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.RefreshTokenRespVo"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/update": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "修改个人信息",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.UpdateMyselfInfoReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.AccountInfoVo"
+                        }
+                    }
+                }
+            }
+        },
+        "/public/deviceSensorList": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公开接口不登录"
+                ],
+                "summary": "设备探头列表",
+                "parameters": [
+                    {
+                        "description": "SN",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/devicesrv.DeviceSensorListReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/devicesrv.DeviceSensorListRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/public/logisticDetail": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公开接口不登录"
+                ],
+                "summary": "物流详情",
+                "parameters": [
+                    {
+                        "description": "订单id",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.OrderLogisticDetailReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.OrderLogisticDetailRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/public/queryOrder": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公开接口不登录"
+                ],
+                "summary": "查运单",
+                "parameters": [
+                    {
+                        "description": "运单号",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.QueryExpressOrderReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.QueryExpressOrderRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/public/sensorDataList": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公开接口不登录"
+                ],
+                "summary": "设备数据列表",
+                "parameters": [
+                    {
+                        "description": "SN数据",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.SnDataListReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": ""
+                        }
+                    }
+                }
+            }
+        },
+        "/warehouse/info": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "仓管"
+                ],
+                "summary": "仓库信息",
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/warehousesrv.WarehouseInfoRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/warehouse/orderInto": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "仓管"
+                ],
+                "summary": "订单入库",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/warehousesrv.OrderIntoHouseReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/warehousesrv.OrderIntoHouseRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/warehouse/orderOutHouse": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "仓管"
+                ],
+                "summary": "订单出库",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/warehousesrv.OrderIntoHouseReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/warehousesrv.OrderIntoHouseRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/warehouse/orderPage": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "仓管"
+                ],
+                "summary": "库中订单列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.WarehouseOrderReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        }
+    },
+    "definitions": {
+        "authsrv.LoginReqVo": {
+            "type": "object",
+            "properties": {
+                "loginType": {
+                    "description": "登录类型:1-内部人员 2-普通用户",
+                    "type": "integer"
+                },
+                "nickName": {
+                    "type": "string"
+                },
+                "openid": {
+                    "type": "string"
+                },
+                "tokenKey": {
+                    "type": "string"
+                }
+            }
+        },
+        "authsrv.LoginRespVo": {
+            "type": "object",
+            "properties": {
+                "accessToken": {
+                    "type": "string"
+                },
+                "expiresIn": {
+                    "type": "integer"
+                },
+                "isFirst": {
+                    "description": "是否首次登录:1-是 2-否",
+                    "type": "integer"
+                },
+                "tokenType": {
+                    "type": "string"
+                }
+            }
+        },
+        "commonsrv.ProvinceListRespVO": {
+            "type": "object",
+            "properties": {
+                "children": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/commonsrv.ProvinceListRespVO"
+                    }
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                },
+                "parentId": {
+                    "type": "integer"
+                }
+            }
+        },
+        "devicesrv.DeviceSensorListReqVO": {
+            "type": "object",
+            "properties": {
+                "snCode": {
+                    "type": "string"
+                }
+            }
+        },
+        "devicesrv.DeviceSensorListRespVO": {
+            "type": "object",
+            "properties": {
+                "snCode": {
+                    "type": "string"
+                },
+                "snIds": {}
+            }
+        },
+        "driversrv.DriverCarInfoRespVO": {
+            "type": "object",
+            "properties": {
+                "carNumber": {
+                    "type": "string"
+                },
+                "snCode": {
+                    "type": "string"
+                },
+                "snIds": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/global.SnIdVO"
+                    }
+                }
+            }
+        },
+        "driversrv.OrderIntoCarReqVO": {
+            "type": "object",
+            "properties": {
+                "orderId": {
+                    "type": "integer"
+                },
+                "orderSubNo": {
+                    "type": "string"
+                }
+            }
+        },
+        "driversrv.OrderIntoCarRespVO": {
+            "type": "object",
+            "properties": {
+                "intoTime": {
+                    "$ref": "#/definitions/models.MyTime"
+                },
+                "orderId": {
+                    "type": "integer"
+                }
+            }
+        },
+        "driversrv.ScanIntoReqVO": {
+            "type": "object",
+            "properties": {
+                "orderNo": {
+                    "type": "string"
+                }
+            }
+        },
+        "driversrv.SignReceiptRespVO": {
+            "type": "object",
+            "properties": {
+                "orderId": {
+                    "type": "integer"
+                },
+                "singTime": {
+                    "$ref": "#/definitions/models.MyTime"
+                }
+            }
+        },
+        "global.SnIdVO": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "models.MyTime": {
+            "type": "object",
+            "properties": {
+                "time.Time": {
+                    "type": "string"
+                }
+            }
+        },
+        "myselfsrv.AddAddressReqVO": {
+            "type": "object",
+            "properties": {
+                "address": {
+                    "description": "详细地址",
+                    "type": "string"
+                },
+                "addressType": {
+                    "description": "地址类型:",
+                    "type": "string"
+                },
+                "cityId": {
+                    "description": "市Id",
+                    "type": "integer"
+                },
+                "isDefault": {
+                    "description": "是否默认:1-是 2-否",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "姓名",
+                    "type": "string"
+                },
+                "phone": {
+                    "description": "联系电话",
+                    "type": "string"
+                },
+                "provinceId": {
+                    "description": "省Id",
+                    "type": "integer"
+                },
+                "regionId": {
+                    "description": "区Id",
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.AddLogisticReqVO": {
+            "type": "object",
+            "properties": {
+                "isDefault": {
+                    "description": "是否默认:1-是 - 2-否",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "名称",
+                    "type": "string"
+                },
+                "pid": {
+                    "description": "冷链系统公司Id",
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.AddressIdRespVO": {
+            "type": "object",
+            "properties": {
+                "addressId": {
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.DeleteAddressReqVO": {
+            "type": "object",
+            "properties": {
+                "addressId": {
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.DeleteLogisticReqVO": {
+            "type": "object",
+            "properties": {
+                "logisticId": {
+                    "type": "string"
+                }
+            }
+        },
+        "myselfsrv.LogisticIdRespVO": {
+            "type": "object",
+            "properties": {
+                "logisticId": {
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.OrderPageReqVO": {
+            "type": "object"
+        },
+        "myselfsrv.OrderSubNoReqVO": {
+            "type": "object",
+            "properties": {
+                "orderId": {
+                    "description": "订单",
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.OrderSubNoRespVO": {
+            "type": "object",
+            "properties": {
+                "orderSubNo": {
+                    "type": "string"
+                }
+            }
+        },
+        "myselfsrv.RefreshTokenRespVo": {
+            "type": "object",
+            "properties": {
+                "accessToken": {
+                    "type": "string"
+                },
+                "expiresIn": {
+                    "type": "integer"
+                },
+                "tokenType": {
+                    "type": "string"
+                }
+            }
+        },
+        "myselfsrv.UpdateAddressReqVO": {
+            "type": "object",
+            "properties": {
+                "address": {
+                    "description": "详细地址",
+                    "type": "string"
+                },
+                "addressId": {
+                    "type": "integer"
+                },
+                "cityId": {
+                    "description": "市Id",
+                    "type": "integer"
+                },
+                "isDefault": {
+                    "description": "是否默认:1-是 2-否",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "姓名",
+                    "type": "string"
+                },
+                "phone": {
+                    "description": "联系电话",
+                    "type": "string"
+                },
+                "provinceId": {
+                    "description": "省Id",
+                    "type": "integer"
+                },
+                "regionId": {
+                    "description": "区Id",
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.UpdateMyselfInfoReqVO": {
+            "type": "object",
+            "properties": {
+                "companyName": {
+                    "description": "公司",
+                    "type": "string"
+                },
+                "gender": {
+                    "description": "性别",
+                    "type": "string"
+                },
+                "name": {
+                    "description": "真实名称",
+                    "type": "string"
+                },
+                "phone": {
+                    "description": "电话",
+                    "type": "string"
+                }
+            }
+        },
+        "ordersrv.AddressVO": {
+            "type": "object",
+            "properties": {
+                "address": {
+                    "description": "详细地址",
+                    "type": "string"
+                },
+                "addressId": {
+                    "description": "地址id",
+                    "type": "integer"
+                },
+                "cityId": {
+                    "description": "市Id",
+                    "type": "integer"
+                },
+                "cityName": {
+                    "description": "市中文名",
+                    "type": "string"
+                },
+                "isDefault": {
+                    "description": "是否默认:1-是 2-否",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "姓名",
+                    "type": "string"
+                },
+                "phone": {
+                    "description": "联系电话",
+                    "type": "string"
+                },
+                "provinceId": {
+                    "description": "省Id",
+                    "type": "integer"
+                },
+                "provinceName": {
+                    "description": "省中文名",
+                    "type": "string"
+                },
+                "regionId": {
+                    "description": "区Id",
+                    "type": "integer"
+                },
+                "regionName": {
+                    "description": "区中文名",
+                    "type": "string"
+                }
+            }
+        },
+        "ordersrv.LocationInfoVO": {
+            "type": "object",
+            "properties": {
+                "contactPerson": {
+                    "description": "联系人",
+                    "type": "string"
+                },
+                "contactPhone": {
+                    "description": "联系电话",
+                    "type": "string"
+                },
+                "extend": {
+                    "type": "string"
+                },
+                "location": {
+                    "description": "位置",
+                    "type": "string"
+                },
+                "locationTime": {
+                    "description": "到达时间",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/models.MyTime"
+                        }
+                    ]
+                },
+                "snCode": {
+                    "type": "string"
+                }
+            }
+        },
+        "ordersrv.OrderDetailReqVO": {
+            "type": "object",
+            "properties": {
+                "orderId": {
+                    "description": "订单ID",
+                    "type": "integer"
+                }
+            }
+        },
+        "ordersrv.OrderDetailRespVO": {
+            "type": "object",
+            "properties": {
+                "cargoNumber": {
+                    "description": "货物数量",
+                    "type": "integer"
+                },
+                "cargoType": {
+                    "description": "货物类型",
+                    "type": "string"
+                },
+                "consigneeAddressId": {
+                    "description": "收货人",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.AddressVO"
+                        }
+                    ]
+                },
+                "deliveryCondition": {
+                    "description": "配送要求",
+                    "type": "string"
+                },
+                "deliveryRemark": {
+                    "description": "运输备注",
+                    "type": "string"
+                },
+                "isInsuredValue": {
+                    "description": "是否保价",
+                    "type": "integer"
+                },
+                "isWeekendPickup": {
+                    "description": "周末是否取货:1-是 2-否",
+                    "type": "integer"
+                },
+                "logisticName": {
+                    "description": "物流公司",
+                    "type": "string"
+                },
+                "orderId": {
+                    "description": "订单ID",
+                    "type": "integer"
+                },
+                "orderNo": {
+                    "description": "单号",
+                    "type": "string"
+                },
+                "orderStatus": {
+                    "description": "订单状态",
+                    "type": "integer"
+                },
+                "pickupTime": {
+                    "description": "取货时间",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/models.MyTime"
+                        }
+                    ]
+                },
+                "sender": {
+                    "description": "发货人",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.AddressVO"
+                        }
+                    ]
+                },
+                "temperatureInterval": {
+                    "description": "温度区间",
+                    "type": "string"
+                },
+                "timeLimit": {
+                    "description": "时效",
+                    "type": "integer"
+                }
+            }
+        },
+        "ordersrv.OrderLogisticDetailReqVO": {
+            "type": "object",
+            "properties": {
+                "orderId": {
+                    "description": "订单ID",
+                    "type": "integer"
+                }
+            }
+        },
+        "ordersrv.OrderLogisticDetailRespVO": {
+            "type": "object",
+            "properties": {
+                "consignee": {
+                    "description": "收件人",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.AddressVO"
+                        }
+                    ]
+                },
+                "logisticLink": {
+                    "description": "物流链",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/ordersrv.LocationInfoVO"
+                    }
+                },
+                "orderId": {
+                    "description": "运单ID",
+                    "type": "integer"
+                },
+                "sender": {
+                    "description": "发件人",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.AddressVO"
+                        }
+                    ]
+                }
+            }
+        },
+        "ordersrv.PlaceOrderReqVO": {
+            "type": "object",
+            "properties": {
+                "LogisticPidName": {
+                    "description": "公司名称",
+                    "type": "string"
+                },
+                "cargoNumber": {
+                    "description": "货物数量",
+                    "type": "integer"
+                },
+                "cargoType": {
+                    "description": "货物类型",
+                    "type": "string"
+                },
+                "consignee": {
+                    "description": "收件人",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.AddressVO"
+                        }
+                    ]
+                },
+                "deliveryCondition": {
+                    "description": "配送要求",
+                    "type": "string"
+                },
+                "deliveryRemark": {
+                    "description": "运输备注",
+                    "type": "string"
+                },
+                "isInsuredValue": {
+                    "description": "是否保价",
+                    "type": "integer"
+                },
+                "isWeekendPickup": {
+                    "description": "周末是否取货:1-是 2-否",
+                    "type": "integer"
+                },
+                "logisticId": {
+                    "description": "物流ID",
+                    "type": "integer"
+                },
+                "logisticPid": {
+                    "description": "公司ID",
+                    "type": "integer"
+                },
+                "pickupTime": {
+                    "description": "取货时间",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/models.MyTime"
+                        }
+                    ]
+                },
+                "sender": {
+                    "description": "寄件人",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.AddressVO"
+                        }
+                    ]
+                },
+                "temperatureInterval": {
+                    "description": "温度区间",
+                    "type": "string"
+                },
+                "timeLimit": {
+                    "description": "时效",
+                    "type": "integer"
+                }
+            }
+        },
+        "ordersrv.PlaceOrderRespVO": {
+            "type": "object",
+            "properties": {
+                "orderNo": {
+                    "type": "string"
+                },
+                "placeOrderTime": {
+                    "$ref": "#/definitions/models.MyTime"
+                }
+            }
+        },
+        "ordersrv.QueryExpressOrderReqVO": {
+            "type": "object",
+            "properties": {
+                "orderNo": {
+                    "description": "运单号",
+                    "type": "string"
+                }
+            }
+        },
+        "ordersrv.QueryExpressOrderRespVO": {
+            "type": "object",
+            "properties": {
+                "LatestLocation": {
+                    "description": "最近一次定位信息",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.LocationInfoVO"
+                        }
+                    ]
+                },
+                "logisticName": {
+                    "description": "物流名称",
+                    "type": "string"
+                },
+                "orderId": {
+                    "type": "integer"
+                },
+                "orderNo": {
+                    "description": "单号",
+                    "type": "string"
+                },
+                "orderStatus": {
+                    "description": "订单状态",
+                    "type": "integer"
+                }
+            }
+        },
+        "swagger.AccountInfoVo": {
+            "type": "object",
+            "properties": {
+                "accountId": {
+                    "description": "账号ID",
+                    "type": "integer"
+                },
+                "accountType": {
+                    "description": "账号类型",
+                    "type": "integer"
+                },
+                "accountUuid": {
+                    "type": "string"
+                },
+                "avatar": {
+                    "description": "头像",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/swagger.FileSource"
+                        }
+                    ]
+                },
+                "companyName": {
+                    "description": "公司",
+                    "type": "string"
+                },
+                "gender": {
+                    "description": "性别",
+                    "type": "string"
+                },
+                "isFirst": {
+                    "description": "是否首次登录,1-是 2-否",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "真实名称",
+                    "type": "string"
+                },
+                "openid": {
+                    "description": "微信Openid",
+                    "type": "string"
+                },
+                "phone": {
+                    "description": "电话",
+                    "type": "string"
+                },
+                "role": {
+                    "description": "角色:用户 司机 仓管",
+                    "type": "string"
+                }
+            }
+        },
+        "swagger.AddressPageReqVO": {
+            "type": "object",
+            "properties": {
+                "addressType": {
+                    "description": "地址类型:sender-发货人 consignee-收货人",
+                    "type": "string"
+                },
+                "page": {
+                    "$ref": "#/definitions/swagger.Page"
+                }
+            }
+        },
+        "swagger.BaseResponse": {
+            "type": "object",
+            "properties": {
+                "code": {
+                    "description": "业务code码",
+                    "type": "integer"
+                },
+                "data": {
+                    "description": "数据信息"
+                },
+                "msg": {
+                    "description": "提示信息",
+                    "type": "string"
+                },
+                "reference": {
+                    "description": "关联信息"
+                }
+            }
+        },
+        "swagger.FileSource": {
+            "type": "object",
+            "properties": {
+                "fileCode": {
+                    "type": "string"
+                },
+                "fileId": {
+                    "type": "integer"
+                },
+                "fileName": {
+                    "type": "string"
+                },
+                "fileUrl": {
+                    "type": "string"
+                }
+            }
+        },
+        "swagger.LogisticListReqVO": {
+            "type": "object",
+            "properties": {
+                "page": {
+                    "$ref": "#/definitions/swagger.Page"
+                },
+                "search": {
+                    "type": "object",
+                    "properties": {
+                        "name": {
+                            "type": "string"
+                        }
+                    }
+                },
+                "userTokey": {
+                    "type": "string"
+                }
+            }
+        },
+        "swagger.LogisticPageReqVO": {
+            "type": "object",
+            "properties": {
+                "page": {
+                    "$ref": "#/definitions/swagger.Page"
+                }
+            }
+        },
+        "swagger.Page": {
+            "type": "object",
+            "properties": {
+                "offset": {
+                    "description": "offset位移",
+                    "type": "integer"
+                },
+                "page": {
+                    "description": "页码",
+                    "type": "integer"
+                },
+                "size": {
+                    "description": "每页最大加载条数",
+                    "type": "integer"
+                },
+                "sort": {
+                    "description": "排序(暂时不用)",
+                    "type": "string"
+                }
+            }
+        },
+        "swagger.PageListResponse": {
+            "type": "object",
+            "properties": {
+                "count": {
+                    "description": "当前页总数",
+                    "type": "integer"
+                },
+                "list": {
+                    "description": "列表数据信息"
+                },
+                "total": {
+                    "description": "列表数据总数",
+                    "type": "integer"
+                },
+                "totalPage": {
+                    "description": "总页数",
+                    "type": "integer"
+                }
+            }
+        },
+        "swagger.SnDataListReqVO": {
+            "type": "object",
+            "properties": {
+                "page": {
+                    "$ref": "#/definitions/swagger.Page"
+                },
+                "search": {
+                    "type": "object",
+                    "properties": {
+                        "timeEnd": {
+                            "$ref": "#/definitions/models.MyTime"
+                        },
+                        "timeStart": {
+                            "description": "2023-03-14 00:00:00",
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/models.MyTime"
+                                }
+                            ]
+                        }
+                    }
+                },
+                "snId": {
+                    "type": "string"
+                },
+                "userTokey": {
+                    "type": "string"
+                }
+            }
+        },
+        "swagger.TaskPageReqVO": {
+            "type": "object",
+            "properties": {
+                "page": {
+                    "$ref": "#/definitions/swagger.Page"
+                },
+                "search": {
+                    "type": "object",
+                    "properties": {
+                        "orderNo": {
+                            "type": "string"
+                        }
+                    }
+                },
+                "status": {
+                    "type": "integer"
+                }
+            }
+        },
+        "swagger.WarehouseOrderReqVO": {
+            "type": "object",
+            "properties": {
+                "page": {
+                    "$ref": "#/definitions/swagger.Page"
+                },
+                "search": {
+                    "type": "object",
+                    "properties": {
+                        "orderNo": {
+                            "type": "string"
+                        },
+                        "timeEnd": {
+                            "$ref": "#/definitions/models.MyTime"
+                        },
+                        "timeStart": {
+                            "$ref": "#/definitions/models.MyTime"
+                        }
+                    }
+                }
+            }
+        },
+        "warehousesrv.OrderIntoHouseReqVO": {
+            "type": "object",
+            "properties": {
+                "orderId": {
+                    "type": "integer"
+                }
+            }
+        },
+        "warehousesrv.OrderIntoHouseRespVO": {
+            "type": "object",
+            "properties": {
+                "intoTime": {
+                    "$ref": "#/definitions/models.MyTime"
+                },
+                "orderId": {
+                    "type": "integer"
+                },
+                "orderNo": {
+                    "type": "string"
+                }
+            }
+        },
+        "warehousesrv.WarehouseInfoRespVO": {
+            "type": "object",
+            "properties": {
+                "name": {
+                    "type": "string"
+                },
+                "snCode": {
+                    "type": "string"
+                },
+                "snIds": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/global.SnIdVO"
+                    }
+                }
+            }
+        }
+    }
+}`
+
+// SwaggerInfo holds exported Swagger Info so clients can modify it
+var SwaggerInfo = &swag.Spec{
+	Version:          "",
+	Host:             "",
+	BasePath:         "",
+	Schemes:          []string{},
+	Title:            "",
+	Description:      "",
+	InfoInstanceName: "swagger",
+	SwaggerTemplate:  docTemplate,
+}
+
+func init() {
+	swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
+}

+ 1874 - 0
docs/swagger.json

@@ -0,0 +1,1874 @@
+{
+    "swagger": "2.0",
+    "info": {
+        "contact": {}
+    },
+    "paths": {
+        "/address/add": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公共接口"
+                ],
+                "summary": "设备数据列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.SnDataListReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/auth/login": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "登录"
+                ],
+                "summary": "小程序登录",
+                "parameters": [
+                    {
+                        "description": "登录",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/authsrv.LoginReqVo"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/authsrv.LoginRespVo"
+                        }
+                    }
+                }
+            }
+        },
+        "/auth/loginOut": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "登录"
+                ],
+                "summary": "登出",
+                "responses": {
+                    "200": {
+                        "description": "success",
+                        "schema": {
+                            "type": "string"
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/auth/wechatCallback": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "登录"
+                ],
+                "summary": "获取微信返回的授权码",
+                "parameters": [
+                    {
+                        "description": "登录",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/authsrv.LoginReqVo"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/authsrv.LoginRespVo"
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/auth/wechatLogin": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "登录"
+                ],
+                "summary": "微信扫码登录",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/authsrv.LoginRespVo"
+                        }
+                    }
+                }
+            }
+        },
+        "/common/logisticList": {
+            "get": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公共接口"
+                ],
+                "summary": "物流公司列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.LogisticListReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/common/provinceList": {
+            "get": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公共接口"
+                ],
+                "summary": "省市区列表",
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/commonsrv.ProvinceListRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/driver/carInfo": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "司机"
+                ],
+                "summary": "车辆信息",
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/driversrv.DriverCarInfoRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/driver/orderIntoCar": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "司机"
+                ],
+                "summary": "装车",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/driversrv.OrderIntoCarReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/driversrv.OrderIntoCarRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/driver/signReceipt": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "司机"
+                ],
+                "summary": "签收",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/driversrv.ScanIntoReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/driversrv.SignReceiptRespVO"
+                        }
+                    },
+                    "400": {
+                        "description": "error",
+                        "schema": {
+                            "type": "string"
+                        }
+                    }
+                }
+            }
+        },
+        "/driver/taskPage": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "司机"
+                ],
+                "summary": "司机任务列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.TaskPageReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/address/add": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "添加寄件/收件人",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.AddAddressReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.AddressIdRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/address/delete": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "删除寄件/收件人",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.DeleteAddressReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.BaseResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/address/page": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "寄件/收件人列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.AddressPageReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/address/update": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "修改寄件/收件人",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.UpdateAddressReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.AddressIdRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/info": {
+            "get": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "个人信息",
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.AccountInfoVo"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/logisticCompany/add": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "物流公司添加",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.AddLogisticReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.LogisticIdRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/logisticCompany/delete": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "物流公司删除",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.DeleteLogisticReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.BaseResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/logisticCompany/page": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "物流公司列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.LogisticPageReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/orderDetail": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "订单详情",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.OrderDetailReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.OrderDetailRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/orderPage": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "订单列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.OrderPageReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/orderSubNo": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "订单揽件码",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.OrderSubNoReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.OrderSubNoRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/placeOrder": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "下单",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.PlaceOrderReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.PlaceOrderRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/refreshToken": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "刷新token",
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.RefreshTokenRespVo"
+                        }
+                    }
+                }
+            }
+        },
+        "/myself/update": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "用户-我的"
+                ],
+                "summary": "修改个人信息",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/myselfsrv.UpdateMyselfInfoReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.AccountInfoVo"
+                        }
+                    }
+                }
+            }
+        },
+        "/public/deviceSensorList": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公开接口不登录"
+                ],
+                "summary": "设备探头列表",
+                "parameters": [
+                    {
+                        "description": "SN",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/devicesrv.DeviceSensorListReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/devicesrv.DeviceSensorListRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/public/logisticDetail": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公开接口不登录"
+                ],
+                "summary": "物流详情",
+                "parameters": [
+                    {
+                        "description": "订单id",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.OrderLogisticDetailReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.OrderLogisticDetailRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/public/queryOrder": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公开接口不登录"
+                ],
+                "summary": "查运单",
+                "parameters": [
+                    {
+                        "description": "运单号",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.QueryExpressOrderReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/ordersrv.QueryExpressOrderRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/public/sensorDataList": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "公开接口不登录"
+                ],
+                "summary": "设备数据列表",
+                "parameters": [
+                    {
+                        "description": "SN数据",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.SnDataListReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": ""
+                        }
+                    }
+                }
+            }
+        },
+        "/warehouse/info": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "仓管"
+                ],
+                "summary": "仓库信息",
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/warehousesrv.WarehouseInfoRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/warehouse/orderInto": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "仓管"
+                ],
+                "summary": "订单入库",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/warehousesrv.OrderIntoHouseReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/warehousesrv.OrderIntoHouseRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/warehouse/orderOutHouse": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "仓管"
+                ],
+                "summary": "订单出库",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/warehousesrv.OrderIntoHouseReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/warehousesrv.OrderIntoHouseRespVO"
+                        }
+                    }
+                }
+            }
+        },
+        "/warehouse/orderPage": {
+            "post": {
+                "consumes": [
+                    "application/json"
+                ],
+                "tags": [
+                    "仓管"
+                ],
+                "summary": "库中订单列表",
+                "parameters": [
+                    {
+                        "description": "请求参数",
+                        "name": "req",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/swagger.WarehouseOrderReqVO"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "成功响应的结构体",
+                        "schema": {
+                            "$ref": "#/definitions/swagger.PageListResponse"
+                        }
+                    }
+                }
+            }
+        }
+    },
+    "definitions": {
+        "authsrv.LoginReqVo": {
+            "type": "object",
+            "properties": {
+                "loginType": {
+                    "description": "登录类型:1-内部人员 2-普通用户",
+                    "type": "integer"
+                },
+                "nickName": {
+                    "type": "string"
+                },
+                "openid": {
+                    "type": "string"
+                },
+                "tokenKey": {
+                    "type": "string"
+                }
+            }
+        },
+        "authsrv.LoginRespVo": {
+            "type": "object",
+            "properties": {
+                "accessToken": {
+                    "type": "string"
+                },
+                "expiresIn": {
+                    "type": "integer"
+                },
+                "isFirst": {
+                    "description": "是否首次登录:1-是 2-否",
+                    "type": "integer"
+                },
+                "tokenType": {
+                    "type": "string"
+                }
+            }
+        },
+        "commonsrv.ProvinceListRespVO": {
+            "type": "object",
+            "properties": {
+                "children": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/commonsrv.ProvinceListRespVO"
+                    }
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                },
+                "parentId": {
+                    "type": "integer"
+                }
+            }
+        },
+        "devicesrv.DeviceSensorListReqVO": {
+            "type": "object",
+            "properties": {
+                "snCode": {
+                    "type": "string"
+                }
+            }
+        },
+        "devicesrv.DeviceSensorListRespVO": {
+            "type": "object",
+            "properties": {
+                "snCode": {
+                    "type": "string"
+                },
+                "snIds": {}
+            }
+        },
+        "driversrv.DriverCarInfoRespVO": {
+            "type": "object",
+            "properties": {
+                "carNumber": {
+                    "type": "string"
+                },
+                "snCode": {
+                    "type": "string"
+                },
+                "snIds": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/global.SnIdVO"
+                    }
+                }
+            }
+        },
+        "driversrv.OrderIntoCarReqVO": {
+            "type": "object",
+            "properties": {
+                "orderId": {
+                    "type": "integer"
+                },
+                "orderSubNo": {
+                    "type": "string"
+                }
+            }
+        },
+        "driversrv.OrderIntoCarRespVO": {
+            "type": "object",
+            "properties": {
+                "intoTime": {
+                    "$ref": "#/definitions/models.MyTime"
+                },
+                "orderId": {
+                    "type": "integer"
+                }
+            }
+        },
+        "driversrv.ScanIntoReqVO": {
+            "type": "object",
+            "properties": {
+                "orderNo": {
+                    "type": "string"
+                }
+            }
+        },
+        "driversrv.SignReceiptRespVO": {
+            "type": "object",
+            "properties": {
+                "orderId": {
+                    "type": "integer"
+                },
+                "singTime": {
+                    "$ref": "#/definitions/models.MyTime"
+                }
+            }
+        },
+        "global.SnIdVO": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "models.MyTime": {
+            "type": "object",
+            "properties": {
+                "time.Time": {
+                    "type": "string"
+                }
+            }
+        },
+        "myselfsrv.AddAddressReqVO": {
+            "type": "object",
+            "properties": {
+                "address": {
+                    "description": "详细地址",
+                    "type": "string"
+                },
+                "addressType": {
+                    "description": "地址类型:",
+                    "type": "string"
+                },
+                "cityId": {
+                    "description": "市Id",
+                    "type": "integer"
+                },
+                "isDefault": {
+                    "description": "是否默认:1-是 2-否",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "姓名",
+                    "type": "string"
+                },
+                "phone": {
+                    "description": "联系电话",
+                    "type": "string"
+                },
+                "provinceId": {
+                    "description": "省Id",
+                    "type": "integer"
+                },
+                "regionId": {
+                    "description": "区Id",
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.AddLogisticReqVO": {
+            "type": "object",
+            "properties": {
+                "isDefault": {
+                    "description": "是否默认:1-是 - 2-否",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "名称",
+                    "type": "string"
+                },
+                "pid": {
+                    "description": "冷链系统公司Id",
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.AddressIdRespVO": {
+            "type": "object",
+            "properties": {
+                "addressId": {
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.DeleteAddressReqVO": {
+            "type": "object",
+            "properties": {
+                "addressId": {
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.DeleteLogisticReqVO": {
+            "type": "object",
+            "properties": {
+                "logisticId": {
+                    "type": "string"
+                }
+            }
+        },
+        "myselfsrv.LogisticIdRespVO": {
+            "type": "object",
+            "properties": {
+                "logisticId": {
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.OrderPageReqVO": {
+            "type": "object"
+        },
+        "myselfsrv.OrderSubNoReqVO": {
+            "type": "object",
+            "properties": {
+                "orderId": {
+                    "description": "订单",
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.OrderSubNoRespVO": {
+            "type": "object",
+            "properties": {
+                "orderSubNo": {
+                    "type": "string"
+                }
+            }
+        },
+        "myselfsrv.RefreshTokenRespVo": {
+            "type": "object",
+            "properties": {
+                "accessToken": {
+                    "type": "string"
+                },
+                "expiresIn": {
+                    "type": "integer"
+                },
+                "tokenType": {
+                    "type": "string"
+                }
+            }
+        },
+        "myselfsrv.UpdateAddressReqVO": {
+            "type": "object",
+            "properties": {
+                "address": {
+                    "description": "详细地址",
+                    "type": "string"
+                },
+                "addressId": {
+                    "type": "integer"
+                },
+                "cityId": {
+                    "description": "市Id",
+                    "type": "integer"
+                },
+                "isDefault": {
+                    "description": "是否默认:1-是 2-否",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "姓名",
+                    "type": "string"
+                },
+                "phone": {
+                    "description": "联系电话",
+                    "type": "string"
+                },
+                "provinceId": {
+                    "description": "省Id",
+                    "type": "integer"
+                },
+                "regionId": {
+                    "description": "区Id",
+                    "type": "integer"
+                }
+            }
+        },
+        "myselfsrv.UpdateMyselfInfoReqVO": {
+            "type": "object",
+            "properties": {
+                "companyName": {
+                    "description": "公司",
+                    "type": "string"
+                },
+                "gender": {
+                    "description": "性别",
+                    "type": "string"
+                },
+                "name": {
+                    "description": "真实名称",
+                    "type": "string"
+                },
+                "phone": {
+                    "description": "电话",
+                    "type": "string"
+                }
+            }
+        },
+        "ordersrv.AddressVO": {
+            "type": "object",
+            "properties": {
+                "address": {
+                    "description": "详细地址",
+                    "type": "string"
+                },
+                "addressId": {
+                    "description": "地址id",
+                    "type": "integer"
+                },
+                "cityId": {
+                    "description": "市Id",
+                    "type": "integer"
+                },
+                "cityName": {
+                    "description": "市中文名",
+                    "type": "string"
+                },
+                "isDefault": {
+                    "description": "是否默认:1-是 2-否",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "姓名",
+                    "type": "string"
+                },
+                "phone": {
+                    "description": "联系电话",
+                    "type": "string"
+                },
+                "provinceId": {
+                    "description": "省Id",
+                    "type": "integer"
+                },
+                "provinceName": {
+                    "description": "省中文名",
+                    "type": "string"
+                },
+                "regionId": {
+                    "description": "区Id",
+                    "type": "integer"
+                },
+                "regionName": {
+                    "description": "区中文名",
+                    "type": "string"
+                }
+            }
+        },
+        "ordersrv.LocationInfoVO": {
+            "type": "object",
+            "properties": {
+                "contactPerson": {
+                    "description": "联系人",
+                    "type": "string"
+                },
+                "contactPhone": {
+                    "description": "联系电话",
+                    "type": "string"
+                },
+                "extend": {
+                    "type": "string"
+                },
+                "location": {
+                    "description": "位置",
+                    "type": "string"
+                },
+                "locationTime": {
+                    "description": "到达时间",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/models.MyTime"
+                        }
+                    ]
+                },
+                "snCode": {
+                    "type": "string"
+                }
+            }
+        },
+        "ordersrv.OrderDetailReqVO": {
+            "type": "object",
+            "properties": {
+                "orderId": {
+                    "description": "订单ID",
+                    "type": "integer"
+                }
+            }
+        },
+        "ordersrv.OrderDetailRespVO": {
+            "type": "object",
+            "properties": {
+                "cargoNumber": {
+                    "description": "货物数量",
+                    "type": "integer"
+                },
+                "cargoType": {
+                    "description": "货物类型",
+                    "type": "string"
+                },
+                "consigneeAddressId": {
+                    "description": "收货人",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.AddressVO"
+                        }
+                    ]
+                },
+                "deliveryCondition": {
+                    "description": "配送要求",
+                    "type": "string"
+                },
+                "deliveryRemark": {
+                    "description": "运输备注",
+                    "type": "string"
+                },
+                "isInsuredValue": {
+                    "description": "是否保价",
+                    "type": "integer"
+                },
+                "isWeekendPickup": {
+                    "description": "周末是否取货:1-是 2-否",
+                    "type": "integer"
+                },
+                "logisticName": {
+                    "description": "物流公司",
+                    "type": "string"
+                },
+                "orderId": {
+                    "description": "订单ID",
+                    "type": "integer"
+                },
+                "orderNo": {
+                    "description": "单号",
+                    "type": "string"
+                },
+                "orderStatus": {
+                    "description": "订单状态",
+                    "type": "integer"
+                },
+                "pickupTime": {
+                    "description": "取货时间",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/models.MyTime"
+                        }
+                    ]
+                },
+                "sender": {
+                    "description": "发货人",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.AddressVO"
+                        }
+                    ]
+                },
+                "temperatureInterval": {
+                    "description": "温度区间",
+                    "type": "string"
+                },
+                "timeLimit": {
+                    "description": "时效",
+                    "type": "integer"
+                }
+            }
+        },
+        "ordersrv.OrderLogisticDetailReqVO": {
+            "type": "object",
+            "properties": {
+                "orderId": {
+                    "description": "订单ID",
+                    "type": "integer"
+                }
+            }
+        },
+        "ordersrv.OrderLogisticDetailRespVO": {
+            "type": "object",
+            "properties": {
+                "consignee": {
+                    "description": "收件人",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.AddressVO"
+                        }
+                    ]
+                },
+                "logisticLink": {
+                    "description": "物流链",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/ordersrv.LocationInfoVO"
+                    }
+                },
+                "orderId": {
+                    "description": "运单ID",
+                    "type": "integer"
+                },
+                "sender": {
+                    "description": "发件人",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.AddressVO"
+                        }
+                    ]
+                }
+            }
+        },
+        "ordersrv.PlaceOrderReqVO": {
+            "type": "object",
+            "properties": {
+                "LogisticPidName": {
+                    "description": "公司名称",
+                    "type": "string"
+                },
+                "cargoNumber": {
+                    "description": "货物数量",
+                    "type": "integer"
+                },
+                "cargoType": {
+                    "description": "货物类型",
+                    "type": "string"
+                },
+                "consignee": {
+                    "description": "收件人",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.AddressVO"
+                        }
+                    ]
+                },
+                "deliveryCondition": {
+                    "description": "配送要求",
+                    "type": "string"
+                },
+                "deliveryRemark": {
+                    "description": "运输备注",
+                    "type": "string"
+                },
+                "isInsuredValue": {
+                    "description": "是否保价",
+                    "type": "integer"
+                },
+                "isWeekendPickup": {
+                    "description": "周末是否取货:1-是 2-否",
+                    "type": "integer"
+                },
+                "logisticId": {
+                    "description": "物流ID",
+                    "type": "integer"
+                },
+                "logisticPid": {
+                    "description": "公司ID",
+                    "type": "integer"
+                },
+                "pickupTime": {
+                    "description": "取货时间",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/models.MyTime"
+                        }
+                    ]
+                },
+                "sender": {
+                    "description": "寄件人",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.AddressVO"
+                        }
+                    ]
+                },
+                "temperatureInterval": {
+                    "description": "温度区间",
+                    "type": "string"
+                },
+                "timeLimit": {
+                    "description": "时效",
+                    "type": "integer"
+                }
+            }
+        },
+        "ordersrv.PlaceOrderRespVO": {
+            "type": "object",
+            "properties": {
+                "orderNo": {
+                    "type": "string"
+                },
+                "placeOrderTime": {
+                    "$ref": "#/definitions/models.MyTime"
+                }
+            }
+        },
+        "ordersrv.QueryExpressOrderReqVO": {
+            "type": "object",
+            "properties": {
+                "orderNo": {
+                    "description": "运单号",
+                    "type": "string"
+                }
+            }
+        },
+        "ordersrv.QueryExpressOrderRespVO": {
+            "type": "object",
+            "properties": {
+                "LatestLocation": {
+                    "description": "最近一次定位信息",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/ordersrv.LocationInfoVO"
+                        }
+                    ]
+                },
+                "logisticName": {
+                    "description": "物流名称",
+                    "type": "string"
+                },
+                "orderId": {
+                    "type": "integer"
+                },
+                "orderNo": {
+                    "description": "单号",
+                    "type": "string"
+                },
+                "orderStatus": {
+                    "description": "订单状态",
+                    "type": "integer"
+                }
+            }
+        },
+        "swagger.AccountInfoVo": {
+            "type": "object",
+            "properties": {
+                "accountId": {
+                    "description": "账号ID",
+                    "type": "integer"
+                },
+                "accountType": {
+                    "description": "账号类型",
+                    "type": "integer"
+                },
+                "accountUuid": {
+                    "type": "string"
+                },
+                "avatar": {
+                    "description": "头像",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/swagger.FileSource"
+                        }
+                    ]
+                },
+                "companyName": {
+                    "description": "公司",
+                    "type": "string"
+                },
+                "gender": {
+                    "description": "性别",
+                    "type": "string"
+                },
+                "isFirst": {
+                    "description": "是否首次登录,1-是 2-否",
+                    "type": "integer"
+                },
+                "name": {
+                    "description": "真实名称",
+                    "type": "string"
+                },
+                "openid": {
+                    "description": "微信Openid",
+                    "type": "string"
+                },
+                "phone": {
+                    "description": "电话",
+                    "type": "string"
+                },
+                "role": {
+                    "description": "角色:用户 司机 仓管",
+                    "type": "string"
+                }
+            }
+        },
+        "swagger.AddressPageReqVO": {
+            "type": "object",
+            "properties": {
+                "addressType": {
+                    "description": "地址类型:sender-发货人 consignee-收货人",
+                    "type": "string"
+                },
+                "page": {
+                    "$ref": "#/definitions/swagger.Page"
+                }
+            }
+        },
+        "swagger.BaseResponse": {
+            "type": "object",
+            "properties": {
+                "code": {
+                    "description": "业务code码",
+                    "type": "integer"
+                },
+                "data": {
+                    "description": "数据信息"
+                },
+                "msg": {
+                    "description": "提示信息",
+                    "type": "string"
+                },
+                "reference": {
+                    "description": "关联信息"
+                }
+            }
+        },
+        "swagger.FileSource": {
+            "type": "object",
+            "properties": {
+                "fileCode": {
+                    "type": "string"
+                },
+                "fileId": {
+                    "type": "integer"
+                },
+                "fileName": {
+                    "type": "string"
+                },
+                "fileUrl": {
+                    "type": "string"
+                }
+            }
+        },
+        "swagger.LogisticListReqVO": {
+            "type": "object",
+            "properties": {
+                "page": {
+                    "$ref": "#/definitions/swagger.Page"
+                },
+                "search": {
+                    "type": "object",
+                    "properties": {
+                        "name": {
+                            "type": "string"
+                        }
+                    }
+                },
+                "userTokey": {
+                    "type": "string"
+                }
+            }
+        },
+        "swagger.LogisticPageReqVO": {
+            "type": "object",
+            "properties": {
+                "page": {
+                    "$ref": "#/definitions/swagger.Page"
+                }
+            }
+        },
+        "swagger.Page": {
+            "type": "object",
+            "properties": {
+                "offset": {
+                    "description": "offset位移",
+                    "type": "integer"
+                },
+                "page": {
+                    "description": "页码",
+                    "type": "integer"
+                },
+                "size": {
+                    "description": "每页最大加载条数",
+                    "type": "integer"
+                },
+                "sort": {
+                    "description": "排序(暂时不用)",
+                    "type": "string"
+                }
+            }
+        },
+        "swagger.PageListResponse": {
+            "type": "object",
+            "properties": {
+                "count": {
+                    "description": "当前页总数",
+                    "type": "integer"
+                },
+                "list": {
+                    "description": "列表数据信息"
+                },
+                "total": {
+                    "description": "列表数据总数",
+                    "type": "integer"
+                },
+                "totalPage": {
+                    "description": "总页数",
+                    "type": "integer"
+                }
+            }
+        },
+        "swagger.SnDataListReqVO": {
+            "type": "object",
+            "properties": {
+                "page": {
+                    "$ref": "#/definitions/swagger.Page"
+                },
+                "search": {
+                    "type": "object",
+                    "properties": {
+                        "timeEnd": {
+                            "$ref": "#/definitions/models.MyTime"
+                        },
+                        "timeStart": {
+                            "description": "2023-03-14 00:00:00",
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/models.MyTime"
+                                }
+                            ]
+                        }
+                    }
+                },
+                "snId": {
+                    "type": "string"
+                },
+                "userTokey": {
+                    "type": "string"
+                }
+            }
+        },
+        "swagger.TaskPageReqVO": {
+            "type": "object",
+            "properties": {
+                "page": {
+                    "$ref": "#/definitions/swagger.Page"
+                },
+                "search": {
+                    "type": "object",
+                    "properties": {
+                        "orderNo": {
+                            "type": "string"
+                        }
+                    }
+                },
+                "status": {
+                    "type": "integer"
+                }
+            }
+        },
+        "swagger.WarehouseOrderReqVO": {
+            "type": "object",
+            "properties": {
+                "page": {
+                    "$ref": "#/definitions/swagger.Page"
+                },
+                "search": {
+                    "type": "object",
+                    "properties": {
+                        "orderNo": {
+                            "type": "string"
+                        },
+                        "timeEnd": {
+                            "$ref": "#/definitions/models.MyTime"
+                        },
+                        "timeStart": {
+                            "$ref": "#/definitions/models.MyTime"
+                        }
+                    }
+                }
+            }
+        },
+        "warehousesrv.OrderIntoHouseReqVO": {
+            "type": "object",
+            "properties": {
+                "orderId": {
+                    "type": "integer"
+                }
+            }
+        },
+        "warehousesrv.OrderIntoHouseRespVO": {
+            "type": "object",
+            "properties": {
+                "intoTime": {
+                    "$ref": "#/definitions/models.MyTime"
+                },
+                "orderId": {
+                    "type": "integer"
+                },
+                "orderNo": {
+                    "type": "string"
+                }
+            }
+        },
+        "warehousesrv.WarehouseInfoRespVO": {
+            "type": "object",
+            "properties": {
+                "name": {
+                    "type": "string"
+                },
+                "snCode": {
+                    "type": "string"
+                },
+                "snIds": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/global.SnIdVO"
+                    }
+                }
+            }
+        }
+    }
+}

+ 1214 - 0
docs/swagger.yaml

@@ -0,0 +1,1214 @@
+definitions:
+  authsrv.LoginReqVo:
+    properties:
+      loginType:
+        description: 登录类型:1-内部人员 2-普通用户
+        type: integer
+      nickName:
+        type: string
+      openid:
+        type: string
+      tokenKey:
+        type: string
+    type: object
+  authsrv.LoginRespVo:
+    properties:
+      accessToken:
+        type: string
+      expiresIn:
+        type: integer
+      isFirst:
+        description: 是否首次登录:1-是 2-否
+        type: integer
+      tokenType:
+        type: string
+    type: object
+  commonsrv.ProvinceListRespVO:
+    properties:
+      children:
+        items:
+          $ref: '#/definitions/commonsrv.ProvinceListRespVO'
+        type: array
+      id:
+        type: integer
+      name:
+        type: string
+      parentId:
+        type: integer
+    type: object
+  devicesrv.DeviceSensorListReqVO:
+    properties:
+      snCode:
+        type: string
+    type: object
+  devicesrv.DeviceSensorListRespVO:
+    properties:
+      snCode:
+        type: string
+      snIds: {}
+    type: object
+  driversrv.DriverCarInfoRespVO:
+    properties:
+      carNumber:
+        type: string
+      snCode:
+        type: string
+      snIds:
+        items:
+          $ref: '#/definitions/global.SnIdVO'
+        type: array
+    type: object
+  driversrv.OrderIntoCarReqVO:
+    properties:
+      orderId:
+        type: integer
+      orderSubNo:
+        type: string
+    type: object
+  driversrv.OrderIntoCarRespVO:
+    properties:
+      intoTime:
+        $ref: '#/definitions/models.MyTime'
+      orderId:
+        type: integer
+    type: object
+  driversrv.ScanIntoReqVO:
+    properties:
+      orderNo:
+        type: string
+    type: object
+  driversrv.SignReceiptRespVO:
+    properties:
+      orderId:
+        type: integer
+      singTime:
+        $ref: '#/definitions/models.MyTime'
+    type: object
+  global.SnIdVO:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
+    type: object
+  models.MyTime:
+    properties:
+      time.Time:
+        type: string
+    type: object
+  myselfsrv.AddAddressReqVO:
+    properties:
+      address:
+        description: 详细地址
+        type: string
+      addressType:
+        description: 地址类型:
+        type: string
+      cityId:
+        description: 市Id
+        type: integer
+      isDefault:
+        description: 是否默认:1-是 2-否
+        type: integer
+      name:
+        description: 姓名
+        type: string
+      phone:
+        description: 联系电话
+        type: string
+      provinceId:
+        description: 省Id
+        type: integer
+      regionId:
+        description: 区Id
+        type: integer
+    type: object
+  myselfsrv.AddLogisticReqVO:
+    properties:
+      isDefault:
+        description: 是否默认:1-是 - 2-否
+        type: integer
+      name:
+        description: 名称
+        type: string
+      pid:
+        description: 冷链系统公司Id
+        type: integer
+    type: object
+  myselfsrv.AddressIdRespVO:
+    properties:
+      addressId:
+        type: integer
+    type: object
+  myselfsrv.DeleteAddressReqVO:
+    properties:
+      addressId:
+        type: integer
+    type: object
+  myselfsrv.DeleteLogisticReqVO:
+    properties:
+      logisticId:
+        type: string
+    type: object
+  myselfsrv.LogisticIdRespVO:
+    properties:
+      logisticId:
+        type: integer
+    type: object
+  myselfsrv.OrderPageReqVO:
+    type: object
+  myselfsrv.OrderSubNoReqVO:
+    properties:
+      orderId:
+        description: 订单
+        type: integer
+    type: object
+  myselfsrv.OrderSubNoRespVO:
+    properties:
+      orderSubNo:
+        type: string
+    type: object
+  myselfsrv.RefreshTokenRespVo:
+    properties:
+      accessToken:
+        type: string
+      expiresIn:
+        type: integer
+      tokenType:
+        type: string
+    type: object
+  myselfsrv.UpdateAddressReqVO:
+    properties:
+      address:
+        description: 详细地址
+        type: string
+      addressId:
+        type: integer
+      cityId:
+        description: 市Id
+        type: integer
+      isDefault:
+        description: 是否默认:1-是 2-否
+        type: integer
+      name:
+        description: 姓名
+        type: string
+      phone:
+        description: 联系电话
+        type: string
+      provinceId:
+        description: 省Id
+        type: integer
+      regionId:
+        description: 区Id
+        type: integer
+    type: object
+  myselfsrv.UpdateMyselfInfoReqVO:
+    properties:
+      companyName:
+        description: 公司
+        type: string
+      gender:
+        description: 性别
+        type: string
+      name:
+        description: 真实名称
+        type: string
+      phone:
+        description: 电话
+        type: string
+    type: object
+  ordersrv.AddressVO:
+    properties:
+      address:
+        description: 详细地址
+        type: string
+      addressId:
+        description: 地址id
+        type: integer
+      cityId:
+        description: 市Id
+        type: integer
+      cityName:
+        description: 市中文名
+        type: string
+      isDefault:
+        description: 是否默认:1-是 2-否
+        type: integer
+      name:
+        description: 姓名
+        type: string
+      phone:
+        description: 联系电话
+        type: string
+      provinceId:
+        description: 省Id
+        type: integer
+      provinceName:
+        description: 省中文名
+        type: string
+      regionId:
+        description: 区Id
+        type: integer
+      regionName:
+        description: 区中文名
+        type: string
+    type: object
+  ordersrv.LocationInfoVO:
+    properties:
+      contactPerson:
+        description: 联系人
+        type: string
+      contactPhone:
+        description: 联系电话
+        type: string
+      extend:
+        type: string
+      location:
+        description: 位置
+        type: string
+      locationTime:
+        allOf:
+        - $ref: '#/definitions/models.MyTime'
+        description: 到达时间
+      snCode:
+        type: string
+    type: object
+  ordersrv.OrderDetailReqVO:
+    properties:
+      orderId:
+        description: 订单ID
+        type: integer
+    type: object
+  ordersrv.OrderDetailRespVO:
+    properties:
+      cargoNumber:
+        description: 货物数量
+        type: integer
+      cargoType:
+        description: 货物类型
+        type: string
+      consigneeAddressId:
+        allOf:
+        - $ref: '#/definitions/ordersrv.AddressVO'
+        description: 收货人
+      deliveryCondition:
+        description: 配送要求
+        type: string
+      deliveryRemark:
+        description: 运输备注
+        type: string
+      isInsuredValue:
+        description: 是否保价
+        type: integer
+      isWeekendPickup:
+        description: 周末是否取货:1-是 2-否
+        type: integer
+      logisticName:
+        description: 物流公司
+        type: string
+      orderId:
+        description: 订单ID
+        type: integer
+      orderNo:
+        description: 单号
+        type: string
+      orderStatus:
+        description: 订单状态
+        type: integer
+      pickupTime:
+        allOf:
+        - $ref: '#/definitions/models.MyTime'
+        description: 取货时间
+      sender:
+        allOf:
+        - $ref: '#/definitions/ordersrv.AddressVO'
+        description: 发货人
+      temperatureInterval:
+        description: 温度区间
+        type: string
+      timeLimit:
+        description: 时效
+        type: integer
+    type: object
+  ordersrv.OrderLogisticDetailReqVO:
+    properties:
+      orderId:
+        description: 订单ID
+        type: integer
+    type: object
+  ordersrv.OrderLogisticDetailRespVO:
+    properties:
+      consignee:
+        allOf:
+        - $ref: '#/definitions/ordersrv.AddressVO'
+        description: 收件人
+      logisticLink:
+        description: 物流链
+        items:
+          $ref: '#/definitions/ordersrv.LocationInfoVO'
+        type: array
+      orderId:
+        description: 运单ID
+        type: integer
+      sender:
+        allOf:
+        - $ref: '#/definitions/ordersrv.AddressVO'
+        description: 发件人
+    type: object
+  ordersrv.PlaceOrderReqVO:
+    properties:
+      LogisticPidName:
+        description: 公司名称
+        type: string
+      cargoNumber:
+        description: 货物数量
+        type: integer
+      cargoType:
+        description: 货物类型
+        type: string
+      consignee:
+        allOf:
+        - $ref: '#/definitions/ordersrv.AddressVO'
+        description: 收件人
+      deliveryCondition:
+        description: 配送要求
+        type: string
+      deliveryRemark:
+        description: 运输备注
+        type: string
+      isInsuredValue:
+        description: 是否保价
+        type: integer
+      isWeekendPickup:
+        description: 周末是否取货:1-是 2-否
+        type: integer
+      logisticId:
+        description: 物流ID
+        type: integer
+      logisticPid:
+        description: 公司ID
+        type: integer
+      pickupTime:
+        allOf:
+        - $ref: '#/definitions/models.MyTime'
+        description: 取货时间
+      sender:
+        allOf:
+        - $ref: '#/definitions/ordersrv.AddressVO'
+        description: 寄件人
+      temperatureInterval:
+        description: 温度区间
+        type: string
+      timeLimit:
+        description: 时效
+        type: integer
+    type: object
+  ordersrv.PlaceOrderRespVO:
+    properties:
+      orderNo:
+        type: string
+      placeOrderTime:
+        $ref: '#/definitions/models.MyTime'
+    type: object
+  ordersrv.QueryExpressOrderReqVO:
+    properties:
+      orderNo:
+        description: 运单号
+        type: string
+    type: object
+  ordersrv.QueryExpressOrderRespVO:
+    properties:
+      LatestLocation:
+        allOf:
+        - $ref: '#/definitions/ordersrv.LocationInfoVO'
+        description: 最近一次定位信息
+      logisticName:
+        description: 物流名称
+        type: string
+      orderId:
+        type: integer
+      orderNo:
+        description: 单号
+        type: string
+      orderStatus:
+        description: 订单状态
+        type: integer
+    type: object
+  swagger.AccountInfoVo:
+    properties:
+      accountId:
+        description: 账号ID
+        type: integer
+      accountType:
+        description: 账号类型
+        type: integer
+      accountUuid:
+        type: string
+      avatar:
+        allOf:
+        - $ref: '#/definitions/swagger.FileSource'
+        description: 头像
+      companyName:
+        description: 公司
+        type: string
+      gender:
+        description: 性别
+        type: string
+      isFirst:
+        description: 是否首次登录,1-是 2-否
+        type: integer
+      name:
+        description: 真实名称
+        type: string
+      openid:
+        description: 微信Openid
+        type: string
+      phone:
+        description: 电话
+        type: string
+      role:
+        description: 角色:用户 司机 仓管
+        type: string
+    type: object
+  swagger.AddressPageReqVO:
+    properties:
+      addressType:
+        description: 地址类型:sender-发货人 consignee-收货人
+        type: string
+      page:
+        $ref: '#/definitions/swagger.Page'
+    type: object
+  swagger.BaseResponse:
+    properties:
+      code:
+        description: 业务code码
+        type: integer
+      data:
+        description: 数据信息
+      msg:
+        description: 提示信息
+        type: string
+      reference:
+        description: 关联信息
+    type: object
+  swagger.FileSource:
+    properties:
+      fileCode:
+        type: string
+      fileId:
+        type: integer
+      fileName:
+        type: string
+      fileUrl:
+        type: string
+    type: object
+  swagger.LogisticListReqVO:
+    properties:
+      page:
+        $ref: '#/definitions/swagger.Page'
+      search:
+        properties:
+          name:
+            type: string
+        type: object
+      userTokey:
+        type: string
+    type: object
+  swagger.LogisticPageReqVO:
+    properties:
+      page:
+        $ref: '#/definitions/swagger.Page'
+    type: object
+  swagger.Page:
+    properties:
+      offset:
+        description: offset位移
+        type: integer
+      page:
+        description: 页码
+        type: integer
+      size:
+        description: 每页最大加载条数
+        type: integer
+      sort:
+        description: 排序(暂时不用)
+        type: string
+    type: object
+  swagger.PageListResponse:
+    properties:
+      count:
+        description: 当前页总数
+        type: integer
+      list:
+        description: 列表数据信息
+      total:
+        description: 列表数据总数
+        type: integer
+      totalPage:
+        description: 总页数
+        type: integer
+    type: object
+  swagger.SnDataListReqVO:
+    properties:
+      page:
+        $ref: '#/definitions/swagger.Page'
+      search:
+        properties:
+          timeEnd:
+            $ref: '#/definitions/models.MyTime'
+          timeStart:
+            allOf:
+            - $ref: '#/definitions/models.MyTime'
+            description: "2023-03-14 00:00:00"
+        type: object
+      snId:
+        type: string
+      userTokey:
+        type: string
+    type: object
+  swagger.TaskPageReqVO:
+    properties:
+      page:
+        $ref: '#/definitions/swagger.Page'
+      search:
+        properties:
+          orderNo:
+            type: string
+        type: object
+      status:
+        type: integer
+    type: object
+  swagger.WarehouseOrderReqVO:
+    properties:
+      page:
+        $ref: '#/definitions/swagger.Page'
+      search:
+        properties:
+          orderNo:
+            type: string
+          timeEnd:
+            $ref: '#/definitions/models.MyTime'
+          timeStart:
+            $ref: '#/definitions/models.MyTime'
+        type: object
+    type: object
+  warehousesrv.OrderIntoHouseReqVO:
+    properties:
+      orderId:
+        type: integer
+    type: object
+  warehousesrv.OrderIntoHouseRespVO:
+    properties:
+      intoTime:
+        $ref: '#/definitions/models.MyTime'
+      orderId:
+        type: integer
+      orderNo:
+        type: string
+    type: object
+  warehousesrv.WarehouseInfoRespVO:
+    properties:
+      name:
+        type: string
+      snCode:
+        type: string
+      snIds:
+        items:
+          $ref: '#/definitions/global.SnIdVO'
+        type: array
+    type: object
+info:
+  contact: {}
+paths:
+  /address/add:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/swagger.SnDataListReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/swagger.PageListResponse'
+      summary: 设备数据列表
+      tags:
+      - 公共接口
+  /auth/login:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 登录
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/authsrv.LoginReqVo'
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/authsrv.LoginRespVo'
+      summary: 小程序登录
+      tags:
+      - 登录
+  /auth/loginOut:
+    post:
+      consumes:
+      - application/json
+      responses:
+        "200":
+          description: success
+          schema:
+            type: string
+        "500":
+          description: Internal Server Error
+          schema:
+            type: string
+      summary: 登出
+      tags:
+      - 登录
+  /auth/wechatCallback:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 登录
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/authsrv.LoginReqVo'
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/authsrv.LoginRespVo'
+        "500":
+          description: Internal Server Error
+          schema:
+            type: string
+      summary: 获取微信返回的授权码
+      tags:
+      - 登录
+  /auth/wechatLogin:
+    post:
+      consumes:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/authsrv.LoginRespVo'
+      summary: 微信扫码登录
+      tags:
+      - 登录
+  /common/logisticList:
+    get:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/swagger.LogisticListReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/swagger.PageListResponse'
+      summary: 物流公司列表
+      tags:
+      - 公共接口
+  /common/provinceList:
+    get:
+      consumes:
+      - application/json
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/commonsrv.ProvinceListRespVO'
+      summary: 省市区列表
+      tags:
+      - 公共接口
+  /driver/carInfo:
+    post:
+      consumes:
+      - application/json
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/driversrv.DriverCarInfoRespVO'
+      summary: 车辆信息
+      tags:
+      - 司机
+  /driver/orderIntoCar:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/driversrv.OrderIntoCarReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/driversrv.OrderIntoCarRespVO'
+      summary: 装车
+      tags:
+      - 司机
+  /driver/signReceipt:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/driversrv.ScanIntoReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/driversrv.SignReceiptRespVO'
+        "400":
+          description: error
+          schema:
+            type: string
+      summary: 签收
+      tags:
+      - 司机
+  /driver/taskPage:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/swagger.TaskPageReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/swagger.PageListResponse'
+      summary: 司机任务列表
+      tags:
+      - 司机
+  /myself/address/add:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/myselfsrv.AddAddressReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/myselfsrv.AddressIdRespVO'
+      summary: 添加寄件/收件人
+      tags:
+      - 用户-我的
+  /myself/address/delete:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/myselfsrv.DeleteAddressReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/swagger.BaseResponse'
+      summary: 删除寄件/收件人
+      tags:
+      - 用户-我的
+  /myself/address/page:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/swagger.AddressPageReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/swagger.PageListResponse'
+      summary: 寄件/收件人列表
+      tags:
+      - 用户-我的
+  /myself/address/update:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/myselfsrv.UpdateAddressReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/myselfsrv.AddressIdRespVO'
+      summary: 修改寄件/收件人
+      tags:
+      - 用户-我的
+  /myself/info:
+    get:
+      consumes:
+      - application/json
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/swagger.AccountInfoVo'
+      summary: 个人信息
+      tags:
+      - 用户-我的
+  /myself/logisticCompany/add:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/myselfsrv.AddLogisticReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/myselfsrv.LogisticIdRespVO'
+      summary: 物流公司添加
+      tags:
+      - 用户-我的
+  /myself/logisticCompany/delete:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/myselfsrv.DeleteLogisticReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/swagger.BaseResponse'
+      summary: 物流公司删除
+      tags:
+      - 用户-我的
+  /myself/logisticCompany/page:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/swagger.LogisticPageReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/swagger.PageListResponse'
+      summary: 物流公司列表
+      tags:
+      - 用户-我的
+  /myself/orderDetail:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/ordersrv.OrderDetailReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/ordersrv.OrderDetailRespVO'
+      summary: 订单详情
+      tags:
+      - 用户-我的
+  /myself/orderPage:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/myselfsrv.OrderPageReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/swagger.PageListResponse'
+      summary: 订单列表
+      tags:
+      - 用户-我的
+  /myself/orderSubNo:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/myselfsrv.OrderSubNoReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/myselfsrv.OrderSubNoRespVO'
+      summary: 订单揽件码
+      tags:
+      - 用户-我的
+  /myself/placeOrder:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/ordersrv.PlaceOrderReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/ordersrv.PlaceOrderRespVO'
+      summary: 下单
+      tags:
+      - 用户-我的
+  /myself/refreshToken:
+    post:
+      consumes:
+      - application/json
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/myselfsrv.RefreshTokenRespVo'
+      summary: 刷新token
+      tags:
+      - 用户-我的
+  /myself/update:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/myselfsrv.UpdateMyselfInfoReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/swagger.AccountInfoVo'
+      summary: 修改个人信息
+      tags:
+      - 用户-我的
+  /public/deviceSensorList:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: SN
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/devicesrv.DeviceSensorListReqVO'
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/devicesrv.DeviceSensorListRespVO'
+      summary: 设备探头列表
+      tags:
+      - 公开接口不登录
+  /public/logisticDetail:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 订单id
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/ordersrv.OrderLogisticDetailReqVO'
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/ordersrv.OrderLogisticDetailRespVO'
+      summary: 物流详情
+      tags:
+      - 公开接口不登录
+  /public/queryOrder:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 运单号
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/ordersrv.QueryExpressOrderReqVO'
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/ordersrv.QueryExpressOrderRespVO'
+      summary: 查运单
+      tags:
+      - 公开接口不登录
+  /public/sensorDataList:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: SN数据
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/swagger.SnDataListReqVO'
+      responses:
+        "200":
+          description: OK
+          schema:
+            type: ""
+      summary: 设备数据列表
+      tags:
+      - 公开接口不登录
+  /warehouse/info:
+    post:
+      consumes:
+      - application/json
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/warehousesrv.WarehouseInfoRespVO'
+      summary: 仓库信息
+      tags:
+      - 仓管
+  /warehouse/orderInto:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/warehousesrv.OrderIntoHouseReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/warehousesrv.OrderIntoHouseRespVO'
+      summary: 订单入库
+      tags:
+      - 仓管
+  /warehouse/orderOutHouse:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/warehousesrv.OrderIntoHouseReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/warehousesrv.OrderIntoHouseRespVO'
+      summary: 订单出库
+      tags:
+      - 仓管
+  /warehouse/orderPage:
+    post:
+      consumes:
+      - application/json
+      parameters:
+      - description: 请求参数
+        in: body
+        name: req
+        required: true
+        schema:
+          $ref: '#/definitions/swagger.WarehouseOrderReqVO'
+      responses:
+        "200":
+          description: 成功响应的结构体
+          schema:
+            $ref: '#/definitions/swagger.PageListResponse'
+      summary: 库中订单列表
+      tags:
+      - 仓管
+swagger: "2.0"

+ 33 - 12
go.mod

@@ -22,18 +22,24 @@ require (
 )
 
 require (
-	github.com/BurntSushi/toml v1.1.0 // indirect
+	github.com/BurntSushi/toml v1.3.2 // indirect
+	github.com/KyleBanks/depth v1.2.1 // indirect
+	github.com/PuerkitoBio/purell v1.2.1 // indirect
+	github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
+	github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
 	github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
 	github.com/beorn7/perks v1.0.1 // indirect
-	github.com/bytedance/sonic v1.9.1 // indirect
+	github.com/bytedance/sonic v1.11.3 // indirect
 	github.com/cespare/xxhash/v2 v2.2.0 // indirect
-	github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
+	github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
+	github.com/chenzhuoyu/iasm v0.9.1 // indirect
 	github.com/clbanning/mxj v1.8.5-0.20200714211355-ff02cfb8ea28 // indirect
+	github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
 	github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
 	github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
 	github.com/fatih/color v1.14.1 // indirect
 	github.com/fsnotify/fsnotify v1.7.0 // indirect
-	github.com/gabriel-vasile/mimetype v1.4.2 // indirect
+	github.com/gabriel-vasile/mimetype v1.4.3 // indirect
 	github.com/gin-contrib/pprof v1.4.0 // indirect
 	github.com/gin-contrib/sse v0.1.0 // indirect
 	github.com/go-ini/ini v1.67.0 // indirect
@@ -41,9 +47,13 @@ require (
 	github.com/go-logr/logr v1.2.4 // indirect
 	github.com/go-logr/stdr v1.2.2 // indirect
 	github.com/go-ole/go-ole v1.2.6 // indirect
+	github.com/go-openapi/jsonpointer v0.21.0 // indirect
+	github.com/go-openapi/jsonreference v0.21.0 // indirect
+	github.com/go-openapi/spec v0.21.0 // indirect
+	github.com/go-openapi/swag v0.23.0 // indirect
 	github.com/go-playground/locales v0.14.1 // indirect
 	github.com/go-playground/universal-translator v0.18.1 // indirect
-	github.com/go-playground/validator/v10 v10.14.0 // indirect
+	github.com/go-playground/validator/v10 v10.19.0 // indirect
 	github.com/go-redsync/redsync/v4 v4.12.1 // indirect
 	github.com/go-sql-driver/mysql v1.7.0 // indirect
 	github.com/goccy/go-json v0.10.2 // indirect
@@ -65,11 +75,13 @@ require (
 	github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
 	github.com/jackc/pgx/v5 v5.4.3 // indirect
 	github.com/jinzhu/inflection v1.0.0 // indirect
+	github.com/josharian/intern v1.0.0 // indirect
 	github.com/json-iterator/go v1.1.12 // indirect
 	github.com/klauspost/compress v1.17.2 // indirect
-	github.com/klauspost/cpuid/v2 v2.2.4 // indirect
-	github.com/leodido/go-urn v1.2.4 // indirect
+	github.com/klauspost/cpuid/v2 v2.2.7 // indirect
+	github.com/leodido/go-urn v1.4.0 // indirect
 	github.com/magiconair/properties v1.8.7 // indirect
+	github.com/mailru/easyjson v0.7.7 // indirect
 	github.com/matoous/go-nanoid/v2 v2.0.0 // indirect
 	github.com/mattn/go-colorable v0.1.13 // indirect
 	github.com/mattn/go-isatty v0.0.20 // indirect
@@ -88,7 +100,7 @@ require (
 	github.com/oklog/ulid/v2 v2.1.0 // indirect
 	github.com/olekukonko/tablewriter v0.0.5 // indirect
 	github.com/panjf2000/ants/v2 v2.9.0 // indirect
-	github.com/pelletier/go-toml/v2 v2.1.0 // indirect
+	github.com/pelletier/go-toml/v2 v2.2.0 // indirect
 	github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
 	github.com/prometheus/client_golang v1.9.0 // indirect
 	github.com/prometheus/client_model v0.2.0 // indirect
@@ -98,6 +110,7 @@ require (
 	github.com/richardlehane/mscfb v1.0.4 // indirect
 	github.com/richardlehane/msoleps v1.0.3 // indirect
 	github.com/robfig/cron/v3 v3.0.1 // indirect
+	github.com/russross/blackfriday/v2 v2.1.0 // indirect
 	github.com/sagikazarmark/locafero v0.4.0 // indirect
 	github.com/sagikazarmark/slog-shim v0.1.0 // indirect
 	github.com/shirou/gopsutil v3.21.11+incompatible // indirect
@@ -112,6 +125,9 @@ require (
 	github.com/spf13/pflag v1.0.5 // indirect
 	github.com/spf13/viper v1.18.2 // indirect
 	github.com/subosito/gotenv v1.6.0 // indirect
+	github.com/swaggo/files v1.0.1 // indirect
+	github.com/swaggo/gin-swagger v1.6.0 // indirect
+	github.com/swaggo/swag v1.16.3 // indirect
 	github.com/tencentyun/cos-go-sdk-v5 v0.7.47 // indirect
 	github.com/tidwall/gjson v1.17.1 // indirect
 	github.com/tidwall/match v1.1.1 // indirect
@@ -119,9 +135,11 @@ require (
 	github.com/tklauser/go-sysconf v0.3.11 // indirect
 	github.com/tklauser/numcpus v0.6.1 // indirect
 	github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
-	github.com/ugorji/go/codec v1.2.11 // indirect
+	github.com/ugorji/go/codec v1.2.12 // indirect
+	github.com/urfave/cli/v2 v2.27.1 // indirect
 	github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
 	github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
+	github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913 // indirect
 	github.com/xuri/efp v0.0.0-20231025114914-d1ff6096ae53 // indirect
 	github.com/xuri/nfp v0.0.0-20230919160717-d98342af3f05 // indirect
 	github.com/yusufpapurcu/wmi v1.2.3 // indirect
@@ -131,24 +149,27 @@ require (
 	go.opentelemetry.io/otel/trace v1.16.0 // indirect
 	go.uber.org/multierr v1.10.0 // indirect
 	go.uber.org/zap v1.27.0 // indirect
-	golang.org/x/arch v0.3.0 // indirect
+	golang.org/x/arch v0.7.0 // indirect
 	golang.org/x/crypto v0.21.0 // indirect
 	golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
-	golang.org/x/net v0.21.0 // indirect
+	golang.org/x/net v0.22.0 // indirect
 	golang.org/x/sys v0.18.0 // indirect
 	golang.org/x/text v0.14.0 // indirect
 	golang.org/x/time v0.5.0 // indirect
+	golang.org/x/tools v0.19.0 // indirect
 	google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
 	google.golang.org/grpc v1.62.1 // indirect
-	google.golang.org/protobuf v1.32.0 // indirect
+	google.golang.org/protobuf v1.33.0 // indirect
 	gopkg.in/ini.v1 v1.67.0 // indirect
 	gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
+	gopkg.in/yaml.v2 v2.4.0 // indirect
 	gopkg.in/yaml.v3 v3.0.1 // indirect
 	gorm.io/driver/mysql v1.5.5 // indirect
 	gorm.io/driver/postgres v1.5.7 // indirect
 	mosn.io/api v1.5.0 // indirect
 	mosn.io/holmes v1.1.0 // indirect
 	mosn.io/pkg v1.6.0 // indirect
+	sigs.k8s.io/yaml v1.4.0 // indirect
 )
 
 replace gogs.baozhida.cn/Cold_Logistic_libs => gogs.baozhida.cn/zoie/Cold_Logistic_libs.git v0.0.0-20240320032929-653ef5f1da1f

+ 83 - 0
go.sum

@@ -14,9 +14,17 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7
 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
 github.com/BurntSushi/toml v1.1.0 h1:ksErzDEI1khOiGPgpwuI7x2ebx/uXQNw7xJpn9Eq1+I=
 github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
+github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8=
+github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
 github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
+github.com/KyleBanks/depth v1.2.1 h1:5h8fQADFrWtarTdtDudMmGsC7GPbOAu6RVB3ffsVFHc=
+github.com/KyleBanks/depth v1.2.1/go.mod h1:jzSb9d0L43HxTQfT+oSA1EEp2q+ne2uh6XgeJcm8brE=
 github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
+github.com/PuerkitoBio/purell v1.2.1 h1:QsZ4TjvwiMpat6gBCBxEQI0rcS9ehtkKtSpiUnd9N28=
+github.com/PuerkitoBio/purell v1.2.1/go.mod h1:ZwHcC/82TOaovDi//J/804umJFFmbOHPngi8iYYv/Eo=
+github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M=
+github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
 github.com/QcloudApi/qcloud_sign_golang v0.0.0-20141224014652-e4130a326409/go.mod h1:1pk82RBxDY/JZnPQrtqHlUFfCctgdorsd9M06fMynOM=
 github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
 github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
@@ -24,6 +32,7 @@ github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod h1:3eOhrU
 github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g=
 github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c=
 github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
+github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM=
 github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
 github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
 github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
@@ -54,6 +63,9 @@ github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23/go.mod h1:bbYlZJ7
 github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=
 github.com/bytedance/sonic v1.9.1 h1:6iJ6NqdoxCDr6mbY8h18oSO+cShGSMRGCEo7F2h0x8s=
 github.com/bytedance/sonic v1.9.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U=
+github.com/bytedance/sonic v1.10.0-rc/go.mod h1:ElCzW+ufi8qKqNW0FY314xriJhyJhuoJ3gFZdAHF7NM=
+github.com/bytedance/sonic v1.11.3 h1:jRN+yEjakWh8aK5FzrciUHG8OFXK+4/KrAX/ysEtHAA=
+github.com/bytedance/sonic v1.11.3/go.mod h1:iZcSUejdk5aukTND/Eu/ivjQuEL0Cu9/rf50Hi0u/g4=
 github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ=
 github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
 github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
@@ -65,6 +77,11 @@ github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XL
 github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY=
 github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams=
 github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk=
+github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d h1:77cEq6EriyTZ0g/qfRdp61a3Uu/AWrgIq2s0ClJV1g0=
+github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpVsBuRksnlj1mLy4AWzRNQYxauNi62uWcE3to6eA=
+github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
+github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
+github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
 github.com/clbanning/mxj v1.8.4/go.mod h1:BVjHeAH+rl9rs6f+QIpeRl0tfu10SXn1pUSa5PVGJng=
 github.com/clbanning/mxj v1.8.5-0.20200714211355-ff02cfb8ea28 h1:LdXxtjzvZYhhUaonAaAKArG3pyC67kGL3YY+6hGG8G4=
 github.com/clbanning/mxj v1.8.5-0.20200714211355-ff02cfb8ea28/go.mod h1:BVjHeAH+rl9rs6f+QIpeRl0tfu10SXn1pUSa5PVGJng=
@@ -89,6 +106,8 @@ github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfc
 github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
 github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
 github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
+github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4=
+github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
 github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
 github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
 github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
@@ -135,6 +154,8 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos
 github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
 github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU=
 github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA=
+github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0=
+github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk=
 github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ=
 github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
 github.com/gin-contrib/pprof v1.4.0 h1:XxiBSf5jWZ5i16lNOPbMTVdgHBdhfGRD5PZ1LWazzvg=
@@ -166,6 +187,14 @@ github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre
 github.com/go-ole/go-ole v1.2.4/go.mod h1:XCwSNxSkXRo4vlyPy93sltvi/qJq0jqQhjqQNIwKuxM=
 github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
 github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
+github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ=
+github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY=
+github.com/go-openapi/jsonreference v0.21.0 h1:Rs+Y7hSXT83Jacb7kFyjn4ijOuVGSvOdF2+tg1TRrwQ=
+github.com/go-openapi/jsonreference v0.21.0/go.mod h1:LmZmgsrTkVg9LG4EaHeY8cBDslNPMo06cago5JNLkm4=
+github.com/go-openapi/spec v0.21.0 h1:LTVzPc3p/RzRnkQqLRndbAzjY0d0BCL72A6j3CdL9ZY=
+github.com/go-openapi/spec v0.21.0/go.mod h1:78u6VdPw81XU44qEWGhtr982gJ5BWg2c0I5XwVMotYk=
+github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE=
+github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ=
 github.com/go-ozzo/ozzo-validation/v4 v4.3.0 h1:byhDUpfEwjsVQb1vBunvIjh2BHQ9ead57VkAEY4V+Es=
 github.com/go-ozzo/ozzo-validation/v4 v4.3.0/go.mod h1:2NKgrcHl3z6cJs+3Oo940FPRiTzuqKbvfrL2RxCj6Ew=
 github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
@@ -184,6 +213,8 @@ github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn
 github.com/go-playground/validator/v10 v10.10.0/go.mod h1:74x4gJWsvQexRdW8Pn3dXSGrTK4nAUsbPlLADvpJkos=
 github.com/go-playground/validator/v10 v10.14.0 h1:vgvQWe3XCz3gIeFDm/HnTIbj6UGmg/+t63MyGU2n5js=
 github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU=
+github.com/go-playground/validator/v10 v10.19.0 h1:ol+5Fu+cSq9JD7SoSqe04GMI92cbn0+wvQ3bZ8b/AU4=
+github.com/go-playground/validator/v10 v10.19.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM=
 github.com/go-redis/redis v6.15.9+incompatible h1:K0pv1D7EQUjfyoMql+r/jZqCLizCGKFlFgcHWWmHQjg=
 github.com/go-redis/redis v6.15.9+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA=
 github.com/go-redis/redis/v7 v7.4.0 h1:7obg6wUoj05T0EpY0o8B59S9w5yeMWql7sw2kwNW1x4=
@@ -255,6 +286,7 @@ github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
 github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
 github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
 github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
 github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
 github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
 github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=
@@ -344,6 +376,8 @@ github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/
 github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k=
 github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
 github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8=
+github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
+github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
 github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
 github.com/json-iterator/go v1.1.5/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
 github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
@@ -395,6 +429,9 @@ github.com/klauspost/compress v1.17.2/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQs
 github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
 github.com/klauspost/cpuid/v2 v2.2.4 h1:acbojRNwl3o09bUq+yDCtZFc1aiwaAAxtcn8YkZXnvk=
 github.com/klauspost/cpuid/v2 v2.2.4/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY=
+github.com/klauspost/cpuid/v2 v2.2.7 h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM=
+github.com/klauspost/cpuid/v2 v2.2.7/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
+github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M=
 github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
 github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
 github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
@@ -411,6 +448,8 @@ github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgx
 github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY=
 github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
 github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
+github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ=
+github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI=
 github.com/lestrrat/go-envload v0.0.0-20180220120943-6ed08b54a570/go.mod h1:BLt8L9ld7wVsvEWQbuLrUZnCMnUmLZ+CGDzKtclrTlE=
 github.com/lestrrat/go-file-rotatelogs v0.0.0-20180223000712-d3151e2a480f/go.mod h1:UGmTpUd3rjbtfIpwAPrcfmGf/Z1HS95TATB+m57TPB8=
 github.com/lestrrat/go-strftime v0.0.0-20180220042222-ba3bf9c1d042/go.mod h1:TPpsiPUEh0zFL1Snz4crhMlBe60PYxRHr5oFF3rRYg0=
@@ -421,6 +460,8 @@ github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0Q
 github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
 github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY=
 github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0=
+github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
+github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
 github.com/masterzen/azure-sdk-for-go v3.2.0-beta.0.20161014135628-ee4f0065d00c+incompatible/go.mod h1:mf8fjOu33zCqxUjuiU3I8S1lJMyEAlH+0F2+M5xl3hE=
 github.com/masterzen/simplexml v0.0.0-20160608183007-4572e39b1ab9/go.mod h1:kCEbxUJlNDEBNbdQMkPSp6yaKcRXVI6f4ddk8Riv4bc=
 github.com/masterzen/winrm v0.0.0-20161014151040-7a535cd943fc/go.mod h1:CfZSN7zwz5gJiFhZJz49Uzk7mEBHIceWmbFmYx7Hf7E=
@@ -533,6 +574,8 @@ github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/9
 github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo=
 github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4=
 github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc=
+github.com/pelletier/go-toml/v2 v2.2.0 h1:QLgLl2yMN7N+ruc31VynXs1vhMZa7CeHHejIeBAsoHo=
+github.com/pelletier/go-toml/v2 v2.2.0/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs=
 github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac=
 github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc=
 github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY=
@@ -602,6 +645,7 @@ github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6po
 github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
 github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog=
 github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
 github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
 github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
 github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ=
@@ -661,6 +705,7 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
 github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
 github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
 github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
+github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
 github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
 github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
 github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
@@ -679,6 +724,12 @@ github.com/stvp/tempredis v0.0.0-20181119212430-b82af8480203/go.mod h1:oqN97ltKN
 github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
 github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
 github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
+github.com/swaggo/files v1.0.1 h1:J1bVJ4XHZNq0I46UU90611i9/YzdrF7x92oX1ig5IdE=
+github.com/swaggo/files v1.0.1/go.mod h1:0qXmMNH6sXNf+73t65aKeB+ApmgxdnkQzVTAj2uaMUg=
+github.com/swaggo/gin-swagger v1.6.0 h1:y8sxvQ3E20/RCyrXeFfg60r6H0Z+SwpTjMYsMm+zy8M=
+github.com/swaggo/gin-swagger v1.6.0/go.mod h1:BG00cCEy294xtVpyIAHG6+e2Qzj/xKlRdOqDkvq0uzo=
+github.com/swaggo/swag v1.16.3 h1:PnCYjPCah8FK4I26l2F/KQ4yz3sILcVUN3cTlBFA9Pg=
+github.com/swaggo/swag v1.16.3/go.mod h1:DImHIuOFXKpMFAQjcC7FG4m3Dg4+QuUgUzJmKjI/gRk=
 github.com/tebeka/strftime v0.1.3/go.mod h1:7wJm3dZlpr4l/oVK0t1HYIc4rMzQ2XJlOMIUJUJH6XQ=
 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.563/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y=
 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms v1.0.563/go.mod h1:uom4Nvi9W+Qkom0exYiJ9VWJjXwyxtPYTkKkaLMlfE0=
@@ -710,8 +761,13 @@ github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLY
 github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY=
 github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU=
 github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg=
+github.com/ugorji/go/codec v1.2.12 h1:9LC83zGrHhuUA9l16C9AHXAqEV/2wBQ4nkvumAE65EE=
+github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg=
 github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
+github.com/urfave/cli v1.22.1 h1:+mkCCcOFKPnCmVYVcURKps1Xe+3zP90gSYGNfRkjoIY=
 github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
+github.com/urfave/cli/v2 v2.27.1 h1:8xSQ6szndafKVRmfyeUMxkNUJQMjL1F2zmsZ+qHpfho=
+github.com/urfave/cli/v2 v2.27.1/go.mod h1:8qnjx1vcq5s2/wpsqoZFndg2CE5tNFyrTvS6SinrnYQ=
 github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
 github.com/valyala/fasthttp v1.14.1-0.20200605121233-ac51d598dc54/go.mod h1:hWrFNtR2Jc1XrK0fDq2Y+MkA7F/v3lYKRDXd2CmSikc=
 github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio=
@@ -720,6 +776,8 @@ github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21
 github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
 github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
 github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
+github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913 h1:+qGGcbkzsfDQNPPe9UDgpxAWQrhbbBXOYJFQDq/dtJw=
+github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913/go.mod h1:4aEEwZQutDLsQv2Deui4iYQ6DWTxR14g6m8Wv88+Xqk=
 github.com/xuri/efp v0.0.0-20231025114914-d1ff6096ae53 h1:Chd9DkqERQQuHpXjR/HSV1jLZA6uaoiwwH3vSuF3IW0=
 github.com/xuri/efp v0.0.0-20231025114914-d1ff6096ae53/go.mod h1:ybY/Jr0T0GTCnYjKqmdwxyxn2BQf2RcQIIvex5QldPI=
 github.com/xuri/excelize/v2 v2.8.1 h1:pZLMEwK8ep+CLIUWpWmvW8IWE/yxqG0I1xcN6cVMGuQ=
@@ -728,6 +786,7 @@ github.com/xuri/nfp v0.0.0-20230919160717-d98342af3f05 h1:qhbILQo1K3mphbwKh1vNm4
 github.com/xuri/nfp v0.0.0-20230919160717-d98342af3f05/go.mod h1:WwHg+CVyzlv/TX9xqBFXEZAuxOPxn2k1GNHwG41IIUQ=
 github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
 github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
 github.com/yusufpapurcu/wmi v1.2.3 h1:E1ctvB7uKFMOJw3fdOW32DwGE9I7t++CRUEMKvFoFiw=
 github.com/yusufpapurcu/wmi v1.2.3/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
 github.com/zsais/go-gin-prometheus v0.1.0 h1:bkLv1XCdzqVgQ36ScgRi09MA2UC1t3tAB6nsfErsGO4=
@@ -781,6 +840,8 @@ gogs.baozhida.cn/zoie/Cold_Logistic_libs.git v0.0.0-20240320032929-653ef5f1da1f/
 golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
 golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k=
 golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
+golang.org/x/arch v0.7.0 h1:pskyeJh/3AmoQ8CPE95vxHLqp1G1GfGNXTmcl9NEKTc=
+golang.org/x/arch v0.7.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys=
 golang.org/x/crypto v0.0.0-20180214000028-650f4a345ab4/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
 golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
 golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
@@ -793,6 +854,7 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh
 golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
 golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
 golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
+golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
 golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA=
 golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs=
 golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
@@ -823,6 +885,7 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB
 golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
 golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
 golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
 golang.org/x/net v0.0.0-20180406214816-61147c48b25b/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
 golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
 golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -853,8 +916,12 @@ golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwY
 golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
 golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
 golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
+golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
+golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
 golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4=
 golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
+golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc=
+golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
 golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
 golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
 golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -867,6 +934,7 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ
 golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
 golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ=
 golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
@@ -913,19 +981,26 @@ golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBc
 golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
 golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
 golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
+golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
+golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
 golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
 golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
+golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
 golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
 golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
 golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
@@ -965,6 +1040,9 @@ golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapK
 golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
 golang.org/x/tools v0.0.0-20201014170642-d1624618ad65/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
 golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
+golang.org/x/tools v0.19.0 h1:tfGCXNR1OsFG+sVdLAitlpjAvD/I6dHDKnYrpEZUHkw=
+golang.org/x/tools v0.19.0/go.mod h1:qoJWxmGSIBmAeriMx19ogtrEPrGtDbPK634QFIcLAhc=
 golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
@@ -1028,6 +1106,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ
 google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
 google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
 google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=
+google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
 gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
 gopkg.in/check.v1 v1.0.0-20160105164936-4f90aeace3a2/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
@@ -1100,8 +1180,11 @@ mosn.io/holmes v1.1.0/go.mod h1:pZjPamcZk4Z16xlZySG1rU9psLUCOx6MVNuj/3bfkEk=
 mosn.io/pkg v0.0.0-20211217101631-d914102d1baf/go.mod h1:tK3Vbw6CcVeJ9H/BGjJ1wn6hRXt4Oxjfq1+gkOM0zG8=
 mosn.io/pkg v1.6.0 h1:R+T344PEp7CauQvXEitDJTXQ0bIeOhLwnaey9qwN4Fs=
 mosn.io/pkg v1.6.0/go.mod h1:/EptiefKMKBRvrveNPYEAAgthCTSme52sLMlBXBIBm8=
+nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50=
 rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
 rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
 sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
 sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=
+sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E=
+sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY=
 sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU=

+ 6 - 0
internal/server/adapter/adapter.go

@@ -6,16 +6,21 @@ import (
 	"Cold_Logistic/internal/server/adapter/http/v1/manage"
 	"Cold_Logistic/internal/server/adapter/http/v1/myself"
 	"Cold_Logistic/internal/server/adapter/http/v1/public"
+	"Cold_Logistic/internal/server/adapter/http/v1/swagger"
 	"Cold_Logistic/internal/server/adapter/job/ordercron"
 	"gogs.baozhida.cn/Cold_Logistic_libs/pkg/contrib/watcher"
 
 	"github.com/gin-gonic/gin"
 
+	_ "Cold_Logistic/docs"
 	"Cold_Logistic/internal/server/adapter/http/v1/auth"
 )
 
 func HttpRoutes() func(r *gin.Engine) {
 	return func(r *gin.Engine) {
+		//Swagger文档
+		swagger.RegisterSwagger(r)
+
 		// 用户端
 		app := r.Group("/clodLogistic/app/api/v1")
 		auth.Register(app)
@@ -31,6 +36,7 @@ func HttpRoutes() func(r *gin.Engine) {
 		// 管理后台
 		admin := r.Group("/clodLogistic/manage/api/v1")
 		manage.Register(admin)
+
 	}
 }
 

+ 36 - 2
internal/server/adapter/http/v1/auth/auth.go

@@ -35,7 +35,15 @@ func NewApi() Api {
 	return Api{}
 }
 
-// Login 登录
+// login
+// @Tags 登录
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 小程序登录
+// @Success 200 {object}  authsrv.LoginRespVo
+// @Param req body authsrv.LoginReqVo true "登录"
+// @Accept application/json
+// @Authorization Bearer
+// @Router /auth/login [post]
 func (api Api) login(c *gin.Context) {
 	req := authsrv.LoginReqVo{}
 	if err := c.ShouldBindJSON(&req); err != nil {
@@ -70,7 +78,14 @@ func (api Api) login(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
-// wechatLogin 微信扫码登录
+// wechatLogin
+// @Tags 登录
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 微信扫码登录
+// @Success 200 {object}  authsrv.LoginRespVo
+// @Accept application/json
+// @Authorization Bearer
+// @Router /auth/wechatLogin [post]
 func (api Api) wechatLogin(c *gin.Context) {
 	appId := options.OptInstance.Wechat.AppId
 	state := ""                                                            //防止跨站请求伪造攻击 增加安全性
@@ -94,6 +109,16 @@ func (api Api) wechatLogin(c *gin.Context) {
 	core.WriteBytesResponse(c, nil, qrCode, head)
 }
 
+// wechatCallBack
+// @Tags 登录
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 获取微信返回的授权码
+// @Success 200 {object}  authsrv.LoginRespVo
+// @failure 500 {string}  codex.ErrSystemSrv
+// @Param req body authsrv.LoginReqVo true "登录"
+// @Accept application/json
+// @Authorization Bearer
+// @Router /auth/wechatCallback [post]
 func (api Api) wechatCallBack(c *gin.Context) {
 	// 获取微信返回的授权码
 	code := c.Query("code")
@@ -154,6 +179,15 @@ func (api Api) wechatCallBack(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// LoginOut
+// @Tags 登录
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 登出
+// @failure 500 {string}  codex.ErrSystemSrv
+// @Success 200 {string}  "success"
+// @Accept application/json
+// @Authorization Bearer
+// @Router /auth/loginOut [post]
 func (api Api) LoginOut(c *gin.Context) {
 	srv := authsrv.NewAuthService(dao.NewDataStore(global.CommonConnectRepoInst.StoreDB))
 	err := srv.LoginOut(c)

+ 27 - 3
internal/server/adapter/http/v1/common/api.go

@@ -18,7 +18,7 @@ func Register(r *gin.RouterGroup) {
 	common.Use(middleware.Auth())
 	common.GET("/provinceList", api.provinceList)     // 省市区列表
 	common.GET("/sensorDataList", api.sensorDataList) // 设备数据列表
-	common.GET("/logisticList", api.logisticList)     // 设备数据列表
+	common.GET("/logisticList", api.logisticList)     // 物流公司列表
 	return
 }
 
@@ -28,6 +28,14 @@ func NewApi() Api {
 	return Api{}
 }
 
+// provinceList
+// @Tags 公共接口
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 省市区列表
+// @Success 200 {object}  commonsrv.ProvinceListRespVO "成功响应的结构体"
+// @Accept application/json
+// @Authorization
+// @Router /common/provinceList [get]
 func (api Api) provinceList(c *gin.Context) {
 	srv := commonsrv.NewCommonService(dao.NewDataStore(global.CommonConnectRepoInst.StoreDB))
 	data, err := srv.ProvinceList(c)
@@ -38,7 +46,15 @@ func (api Api) provinceList(c *gin.Context) {
 	core.WriteResponse(c, nil, data)
 }
 
-// sensorDataList 设备数据列表
+// sensorDataList
+// @Tags 公共接口
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 设备数据列表
+// @Success 200 {object}  swagger.PageListResponse "成功响应的结构体"
+// @Param  req body swagger.SnDataListReqVO true "请求参数"
+// @Accept application/json
+// @Authorization Bearer
+// @Router /address/add [post]
 func (api Api) sensorDataList(c *gin.Context) {
 	req := devicesrv.SnDataListReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -60,7 +76,15 @@ func (api Api) sensorDataList(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
-// logisticList 物流公司列表
+// logisticList
+// @Tags 公共接口
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 物流公司列表
+// @Success 200 {object}  swagger.PageListResponse "成功响应的结构体"
+// @Param  req body swagger.LogisticListReqVO true "请求参数"
+// @Accept application/json
+// @Authorization Bearer
+// @Router /common/logisticList [get]
 func (api Api) logisticList(c *gin.Context) {
 	req := commonsrv.LogisticListReqVO{}
 	if err := c.BindJSON(&req); err != nil {

+ 36 - 0
internal/server/adapter/http/v1/insider/driver.go

@@ -10,6 +10,14 @@ import (
 	"gogs.baozhida.cn/Cold_Logistic_libs/pkg/contrib/errors"
 )
 
+// carInfo
+// @Tags 司机
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 车辆信息
+// @Success 200 {object}  driversrv.DriverCarInfoRespVO "成功响应的结构体"
+// @Accept application/json
+// @Authorization
+// @Router /driver/carInfo [post]
 func (api Api) carInfo(c *gin.Context) {
 	srv := driversrv.NewDriverService(dao.NewDataStore(global.CommonConnectRepoInst.StoreDB))
 	res, err := srv.DriverCarInfo(c)
@@ -20,6 +28,15 @@ func (api Api) carInfo(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// taskPage
+// @Tags 司机
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 司机任务列表
+// @Success 200 {object}  swagger.PageListResponse "成功响应的结构体"
+// @Param  req body swagger.TaskPageReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /driver/taskPage [post]
 func (api Api) taskPage(c *gin.Context) {
 	req := driversrv.TaskPageReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -42,6 +59,15 @@ func (api Api) taskPage(c *gin.Context) {
 
 }
 
+// orderIntoCar
+// @Tags 司机
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 装车
+// @Success 200 {object}  driversrv.OrderIntoCarRespVO "成功响应的结构体"
+// @Param  req body driversrv.OrderIntoCarReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /driver/orderIntoCar [post]
 func (api Api) orderIntoCar(c *gin.Context) {
 	req := driversrv.OrderIntoCarReqVO{}
 	if err := c.ShouldBindJSON(&req); err != nil {
@@ -84,6 +110,16 @@ func (api Api) scanIntoCar(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// orderIntoCar
+// @Tags 司机
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 签收
+// @Success 200 {object}  driversrv.SignReceiptRespVO "成功响应的结构体"
+// @Param  req body driversrv.ScanIntoReqVO true "请求参数"
+// @failure 400 {string} codex.ErrBindJSON "error"
+// @Accept application/json
+// @Authorization
+// @Router /driver/signReceipt [post]
 func (api Api) signReceipt(c *gin.Context) {
 	req := driversrv.ScanIntoReqVO{}
 	if err := c.ShouldBindJSON(&req); err != nil {

+ 35 - 0
internal/server/adapter/http/v1/insider/house.go

@@ -10,6 +10,14 @@ import (
 	"gogs.baozhida.cn/Cold_Logistic_libs/pkg/contrib/errors"
 )
 
+// houseInfo
+// @Tags 仓管
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 仓库信息
+// @Success 200 {object}  warehousesrv.WarehouseInfoRespVO "成功响应的结构体"
+// @Accept application/json
+// @Authorization
+// @Router /warehouse/info [post]
 func (api Api) houseInfo(c *gin.Context) {
 	srv := warehousesrv.NewWarehouseService(dao.NewDataStore(global.CommonConnectRepoInst.StoreDB))
 	res, err := srv.WarehouseInfo(c)
@@ -20,6 +28,15 @@ func (api Api) houseInfo(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// warehouseOrder
+// @Tags 仓管
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 库中订单列表
+// @Success 200 {object}  swagger.PageListResponse "成功响应的结构体"
+// @Param  req body swagger.WarehouseOrderReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /warehouse/orderPage [post]
 func (api Api) warehouseOrder(c *gin.Context) {
 	req := warehousesrv.WarehouseOrderReqVO{}
 	if err := c.ShouldBindJSON(&req); err != nil {
@@ -36,6 +53,15 @@ func (api Api) warehouseOrder(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// orderIntoHouse
+// @Tags 仓管
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 订单入库
+// @Success 200 {object}  warehousesrv.OrderIntoHouseRespVO "成功响应的结构体"
+// @Param  req body warehousesrv.OrderIntoHouseReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /warehouse/orderInto [post]
 func (api Api) orderIntoHouse(c *gin.Context) {
 	req := warehousesrv.OrderIntoHouseReqVO{}
 	if err := c.ShouldBindJSON(&req); err != nil {
@@ -57,6 +83,15 @@ func (api Api) orderIntoHouse(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// orderOutHouse
+// @Tags 仓管
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 订单出库
+// @Success 200 {object}  warehousesrv.OrderIntoHouseRespVO "成功响应的结构体"
+// @Param  req body warehousesrv.OrderIntoHouseReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /warehouse/orderOutHouse [post]
 func (api Api) orderOutHouse(c *gin.Context) {
 	req := warehousesrv.OrderIntoHouseReqVO{}
 	if err := c.ShouldBindJSON(&req); err != nil {

+ 36 - 0
internal/server/adapter/http/v1/myself/address.go

@@ -10,6 +10,15 @@ import (
 	"gogs.baozhida.cn/Cold_Logistic_libs/pkg/contrib/errors"
 )
 
+// addressPage
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 寄件/收件人列表
+// @Success 200 {object}  swagger.PageListResponse "成功响应的结构体"
+// @Param  req body swagger.AddressPageReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /myself/address/page [post]
 func (api Api) addressPage(c *gin.Context) {
 	req := myselfsrv.AddressPageReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -31,6 +40,15 @@ func (api Api) addressPage(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// addAddress
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 添加寄件/收件人
+// @Success 200 {object}  myselfsrv.AddressIdRespVO "成功响应的结构体"
+// @Param  req body myselfsrv.AddAddressReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /myself/address/add [post]
 func (api Api) addAddress(c *gin.Context) {
 	req := myselfsrv.AddAddressReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -52,6 +70,15 @@ func (api Api) addAddress(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// updateAddress
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 修改寄件/收件人
+// @Success 200 {object}  myselfsrv.AddressIdRespVO "成功响应的结构体"
+// @Param  req body myselfsrv.UpdateAddressReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /myself/address/update [post]
 func (api Api) updateAddress(c *gin.Context) {
 	req := myselfsrv.UpdateAddressReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -73,6 +100,15 @@ func (api Api) updateAddress(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// deleteAddress
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 删除寄件/收件人
+// @Success 200 {object}  swagger.BaseResponse "成功响应的结构体"
+// @Param  req body myselfsrv.DeleteAddressReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /myself/address/delete [post]
 func (api Api) deleteAddress(c *gin.Context) {
 	req := myselfsrv.DeleteAddressReqVO{}
 	if err := c.BindJSON(&req); err != nil {

+ 27 - 0
internal/server/adapter/http/v1/myself/logistic.go

@@ -10,6 +10,15 @@ import (
 	"gogs.baozhida.cn/Cold_Logistic_libs/pkg/contrib/errors"
 )
 
+// logisticPage
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 物流公司列表
+// @Success 200 {object}  swagger.PageListResponse "成功响应的结构体"
+// @Param  req body swagger.LogisticPageReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /myself/logisticCompany/page [post]
 func (api Api) logisticPage(c *gin.Context) {
 	req := myselfsrv.LogisticPageReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -26,6 +35,15 @@ func (api Api) logisticPage(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// addLogistic
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 物流公司添加
+// @Success 200 {object}  myselfsrv.LogisticIdRespVO "成功响应的结构体"
+// @Param  req body myselfsrv.AddLogisticReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /myself/logisticCompany/add [post]
 func (api Api) addLogistic(c *gin.Context) {
 	req := myselfsrv.AddLogisticReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -47,6 +65,15 @@ func (api Api) addLogistic(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// deleteLogistic
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 物流公司删除
+// @Success 200 {object}  swagger.BaseResponse "成功响应的结构体"
+// @Param  req body myselfsrv.DeleteLogisticReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /myself/logisticCompany/delete [post]
 func (api Api) deleteLogistic(c *gin.Context) {
 	req := myselfsrv.DeleteLogisticReqVO{}
 	if err := c.BindJSON(&req); err != nil {

+ 36 - 0
internal/server/adapter/http/v1/myself/order.go

@@ -11,6 +11,15 @@ import (
 	"gogs.baozhida.cn/Cold_Logistic_libs/pkg/contrib/errors"
 )
 
+// orderPage
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 订单列表
+// @Success 200 {object}  swagger.PageListResponse "成功响应的结构体"
+// @Param  req body myselfsrv.OrderPageReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /myself/orderPage [post]
 func (api Api) orderPage(c *gin.Context) {
 	req := myselfsrv.OrderPageReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -27,6 +36,15 @@ func (api Api) orderPage(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// orderSubNo
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 订单揽件码
+// @Success 200 {object}  myselfsrv.OrderSubNoRespVO "成功响应的结构体"
+// @Param  req body myselfsrv.OrderSubNoReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /myself/orderSubNo [post]
 func (api Api) orderSubNo(c *gin.Context) {
 	req := myselfsrv.OrderSubNoReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -43,6 +61,15 @@ func (api Api) orderSubNo(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// placeOrder
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 下单
+// @Success 200 {object}  ordersrv.PlaceOrderRespVO "成功响应的结构体"
+// @Param  req body ordersrv.PlaceOrderReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /myself/placeOrder [post]
 func (api Api) placeOrder(c *gin.Context) {
 	req := ordersrv.PlaceOrderReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -64,6 +91,15 @@ func (api Api) placeOrder(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// placeOrder
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 订单详情
+// @Success 200 {object}  ordersrv.OrderDetailRespVO "成功响应的结构体"
+// @Param  req body ordersrv.OrderDetailReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /myself/orderDetail [post]
 func (api Api) orderDetail(c *gin.Context) {
 	req := ordersrv.OrderDetailReqVO{}
 	if err := c.BindJSON(&req); err != nil {

+ 25 - 0
internal/server/adapter/http/v1/myself/self.go

@@ -10,6 +10,14 @@ import (
 	"gogs.baozhida.cn/Cold_Logistic_libs/pkg/contrib/errors"
 )
 
+// myselfInfo
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 个人信息
+// @Success 200 {object}  swagger.AccountInfoVo "成功响应的结构体"
+// @Accept application/json
+// @Authorization
+// @Router /myself/info [get]
 func (api Api) myselfInfo(c *gin.Context) {
 	srv := myselfsrv.NewMyselfService(dao.NewDataStore(global.CommonConnectRepoInst.StoreDB))
 	res, err := srv.MyselfInfo(c)
@@ -20,6 +28,15 @@ func (api Api) myselfInfo(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// updateMyselfInfo
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 修改个人信息
+// @Success 200 {object}  swagger.AccountInfoVo "成功响应的结构体"
+// @Param  req body myselfsrv.UpdateMyselfInfoReqVO true "请求参数"
+// @Accept application/json
+// @Authorization
+// @Router /myself/update [post]
 func (api Api) updateMyselfInfo(c *gin.Context) {
 	req := myselfsrv.UpdateMyselfInfoReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -41,6 +58,14 @@ func (api Api) updateMyselfInfo(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// refreshToken
+// @Tags 用户-我的
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 刷新token
+// @Success 200 {object}  myselfsrv.RefreshTokenRespVo "成功响应的结构体"
+// @Accept application/json
+// @Authorization
+// @Router /myself/refreshToken [post]
 func (api Api) refreshToken(c *gin.Context) {
 	srv := myselfsrv.NewMyselfService(dao.NewDataStore(global.CommonConnectRepoInst.StoreDB))
 	res, err := srv.RefreshToken(c)

+ 33 - 0
internal/server/adapter/http/v1/public/public.go

@@ -11,6 +11,16 @@ import (
 	"gogs.baozhida.cn/Cold_Logistic_libs/pkg/contrib/errors"
 )
 
+// queryExpressOrder
+// @Tags 公开接口不登录
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 查运单
+// @Success 200 {object}  ordersrv.QueryExpressOrderRespVO
+// @Fail 400 {object}  swagger.BaseResponse
+// @Param req body ordersrv.QueryExpressOrderReqVO true "运单号"
+// @Accept application/json
+// @Authorization Bearer
+// @Router /public/queryOrder [post]
 func (api Api) queryExpressOrder(c *gin.Context) {
 	req := ordersrv.QueryExpressOrderReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -32,6 +42,14 @@ func (api Api) queryExpressOrder(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// logisticDetail
+// @Tags 公开接口不登录
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 物流详情
+// @Success 200 {object}  ordersrv.OrderLogisticDetailRespVO
+// @Param req body ordersrv.OrderLogisticDetailReqVO true "订单id"
+// @Accept application/json
+// @Router /public/logisticDetail [post]
 func (api Api) logisticDetail(c *gin.Context) {
 	req := ordersrv.OrderLogisticDetailReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -53,6 +71,14 @@ func (api Api) logisticDetail(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// logisticDetail
+// @Tags 公开接口不登录
+// @BasePath /clodLogistic/app/api/v1
+// @Summary 设备探头列表
+// @Success 200 {object}  devicesrv.DeviceSensorListRespVO
+// @Param req body devicesrv.DeviceSensorListReqVO true "SN"
+// @Accept application/json
+// @Router /public/deviceSensorList [post]
 func (api Api) deviceSensorList(c *gin.Context) {
 	req := devicesrv.DeviceSensorListReqVO{}
 	if err := c.BindJSON(&req); err != nil {
@@ -74,6 +100,13 @@ func (api Api) deviceSensorList(c *gin.Context) {
 	core.WriteResponse(c, nil, res)
 }
 
+// logisticDetail
+// @Tags 公开接口不登录
+// @Summary 设备数据列表
+// @Success 200 {}  swagger.PageListResponse
+// @Param req body swagger.SnDataListReqVO true "SN数据"
+// @Accept application/json
+// @Router /public/sensorDataList [post]
 func (api Api) snDataList(c *gin.Context) {
 	req := devicesrv.SnDataListReqVO{}
 	if err := c.BindJSON(&req); err != nil {

+ 21 - 0
internal/server/adapter/http/v1/swagger/swagger.go

@@ -0,0 +1,21 @@
+package swagger
+
+import (
+	"Cold_Logistic/docs"
+	"github.com/gin-gonic/gin"
+	swaggerFiles "github.com/swaggo/files"
+	ginSwagger "github.com/swaggo/gin-swagger"
+)
+
+// 注册Swagger
+func RegisterSwagger(r *gin.Engine) {
+	// API文档访问地址: http://host/swagger/index.html
+	// 注解定义可参考 https://github.com/swaggo/swag#declarative-comments-format
+	docs.SwaggerInfo.BasePath = "/clodLogistic/app/api/v1"
+	docs.SwaggerInfo.Title = "冷链运输平台后台管理接口"
+	docs.SwaggerInfo.Version = "1.0"
+	docs.SwaggerInfo.Host = "localhost:8888"
+	docs.SwaggerInfo.Schemes = []string{"http", "https"}
+	//由于 Swagger 本身并不直接支持多 base path通过自定义方式实现不同的basePath
+	r.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler))
+}

+ 91 - 0
internal/server/adapter/http/v1/swagger/swagger_model.go

@@ -0,0 +1,91 @@
+package swagger
+
+import (
+	"Cold_Logistic/internal/server/infra/models"
+)
+
+//使用swagegr过程中由于@Success注解在读取参数过程中无法读取到外部引用的结构体,所以在此处拷贝结构体供swagger注解使用
+
+type PageListResponse struct {
+	Total     int64       `json:"total"`     // 列表数据总数
+	TotalPage int64       `json:"totalPage"` // 总页数
+	Count     int         `json:"count"`     // 当前页总数
+	List      interface{} `json:"list"`      // 列表数据信息
+}
+type LogisticListReqVO struct {
+	UserTokey string `json:"userTokey"`
+	Page      Page   `json:"page"`
+	Search    struct {
+		Name string `json:"name"`
+	}
+}
+type WarehouseOrderReqVO struct {
+	Page   Page `json:"page"`
+	Search struct {
+		OrderNo   string        `json:"orderNo"`
+		TimeStart models.MyTime `json:"timeStart"`
+		TimeEnd   models.MyTime `json:"timeEnd"`
+	}
+}
+type TaskPageReqVO struct {
+	Page   Page `json:"page"`
+	Status int  `json:"status"`
+	Search struct {
+		OrderNo string `json:"orderNo"`
+	}
+}
+type LogisticPageReqVO struct {
+	Page Page `json:"page"`
+}
+type AddressPageReqVO struct {
+	Page        Page   `json:"page"`
+	AddressType string `json:"addressType"` // 地址类型:sender-发货人 consignee-收货人
+}
+type AccountInfoVo struct {
+	AccountId   int        `json:"accountId"`   // 账号ID
+	AccountType int        `json:"accountType"` // 账号类型
+	AccountUuid string     `json:"accountUuid"`
+	Openid      string     `json:"openid"`      // 微信Openid
+	Name        string     `json:"name"`        // 真实名称
+	Role        string     `json:"role"`        // 角色:用户 司机 仓管
+	Gender      string     `json:"gender"`      // 性别
+	Phone       string     `json:"phone"`       // 电话
+	CompanyName string     `json:"companyName"` // 公司
+	Avatar      FileSource `json:"avatar"`      // 头像
+	IsFirst     int        `json:"isFirst"`     // 是否首次登录,1-是 2-否
+}
+type FileSource struct {
+	FileId   int    `json:"fileId"`
+	FileCode string `json:"fileCode"`
+	FileUrl  string `json:"fileUrl"`
+	FileName string `json:"fileName"`
+}
+type SnDataListReqVO struct {
+	UserTokey string `json:"userTokey"`
+	SnId      string `json:"snId"`
+	Page      Page   `json:"page"`
+	Search    struct {
+		TimeStart models.MyTime `json:"timeStart"` // 2023-03-14 00:00:00
+		TimeEnd   models.MyTime `json:"timeEnd"`
+	}
+}
+type BaseResponse struct {
+	Code int `json:"code"` // 业务code码
+
+	Message string `json:"msg"` // 提示信息
+
+	Reference interface{} `json:"reference,omitempty"` // 关联信息
+
+	Data interface{} `json:"data"` // 数据信息
+}
+
+type ListResponse struct {
+	List interface{} `json:"list"` // 列表数据信息
+}
+
+type Page struct {
+	Page   int    `json:"page"`   // 页码
+	Offset int    `json:"offset"` // offset位移
+	Size   int    `json:"size"`   // 每页最大加载条数
+	Sort   string `json:"sort"`   // 排序(暂时不用)
+}

+ 0 - 0
cmd/cclogisticserver/main.go → main.go