From 0acdfc60dbb5ee96045ccd695db1fec9d1e9d127 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期三, 30 八月 2023 17:27:39 +0800
Subject: [PATCH] fix
---
docs/swagger.yaml | 210 +++++++++++-----
docs/docs.go | 234 +++++++++++++++---
docs/swagger.json | 234 +++++++++++++++---
global/model.go | 11
4 files changed, 524 insertions(+), 165 deletions(-)
diff --git a/docs/docs.go b/docs/docs.go
index 9156122..74a8c5c 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1919,7 +1919,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -1937,6 +1936,11 @@
{
"type": "integer",
"name": "supplierID",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -1970,7 +1974,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -1988,6 +1991,11 @@
{
"type": "integer",
"name": "supplierID",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -2021,7 +2029,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -2068,6 +2075,11 @@
"type": "integer",
"name": "supplierID",
"in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
+ "in": "query"
}
],
"responses": {
@@ -2100,7 +2112,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -2118,6 +2129,11 @@
{
"type": "integer",
"name": "supplierID",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -2189,7 +2205,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -2221,6 +2236,11 @@
"type": "integer",
"description": "绠$悊ID",
"name": "sysUserId",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -2946,7 +2966,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -2959,6 +2978,11 @@
{
"type": "string",
"name": "name",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -2992,7 +3016,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -3033,6 +3056,11 @@
{
"type": "string",
"name": "startCreatedAt",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -3334,7 +3362,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -3347,6 +3374,11 @@
{
"type": "string",
"name": "nickname",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -3390,7 +3422,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -3431,6 +3462,11 @@
{
"type": "string",
"name": "startCreatedAt",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -3474,7 +3510,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -3515,6 +3550,11 @@
{
"type": "string",
"name": "startCreatedAt",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -4170,7 +4210,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -4243,6 +4282,11 @@
{
"type": "string",
"name": "unit",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -4276,7 +4320,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -4377,6 +4420,11 @@
{
"type": "string",
"name": "unit",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -4410,7 +4458,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -4511,6 +4558,11 @@
{
"type": "string",
"name": "unit",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -5219,7 +5271,6 @@
},
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -5281,6 +5332,11 @@
},
{
"type": "string",
+ "name": "updated_at",
+ "in": "query"
+ },
+ {
+ "type": "string",
"name": "url",
"in": "query"
}
@@ -5335,7 +5391,6 @@
},
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -5421,6 +5476,11 @@
{
"type": "string",
"name": "supplierType",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -5611,7 +5671,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -5624,6 +5683,11 @@
{
"type": "string",
"name": "name",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -5657,7 +5721,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -5698,6 +5761,11 @@
{
"type": "string",
"name": "startCreatedAt",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -5869,7 +5937,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -5901,6 +5968,11 @@
"type": "string",
"description": "瀛楀吀鍚嶏紙鑻憋級",
"name": "type",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -5950,7 +6022,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -6000,6 +6071,11 @@
"type": "string",
"description": "瀛楀吀鍚嶏紙鑻憋級",
"name": "type",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -6198,7 +6274,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -6230,6 +6305,11 @@
"type": "integer",
"description": "鍏宠仈鏍囪",
"name": "sysDictionaryID",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -6285,7 +6365,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -6335,6 +6414,11 @@
"type": "integer",
"description": "鍏宠仈鏍囪",
"name": "sysDictionaryID",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -6601,7 +6685,6 @@
},
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -6651,6 +6734,11 @@
"type": "integer",
"description": "璇锋眰鐘舵��",
"name": "status",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -6718,7 +6806,6 @@
},
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -6786,6 +6873,11 @@
"type": "integer",
"description": "璇锋眰鐘舵��",
"name": "status",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -8337,7 +8429,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"customerName": {
@@ -8367,6 +8458,9 @@
"sysUserId": {
"description": "绠$悊ID",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -8377,7 +8471,6 @@
"type": "integer"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"exaFileChunk": {
@@ -8401,6 +8494,9 @@
},
"isFinish": {
"type": "boolean"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -8408,7 +8504,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"exaFileID": {
@@ -8423,6 +8518,9 @@
"id": {
"description": "涓婚敭ID",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -8430,7 +8528,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -8447,6 +8544,9 @@
},
"tag": {
"description": "鏂囦欢鏍囩",
+ "type": "string"
+ },
+ "updated_at": {
"type": "string"
},
"url": {
@@ -8499,7 +8599,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"creator": {
@@ -8612,6 +8711,9 @@
"description": "鏈敹绁ㄩ噾棰�",
"type": "number"
},
+ "updated_at": {
+ "type": "string"
+ },
"warehouse": {
"description": "鏀惰揣浠撳簱",
"type": "string"
@@ -8638,7 +8740,6 @@
"type": "number"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -8664,6 +8765,9 @@
"total": {
"description": "閲囪喘鎬讳环",
"type": "number"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -8671,7 +8775,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -8689,6 +8792,9 @@
"sort": {
"description": "鎺掑簭",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -9091,7 +9197,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"desc": {
@@ -9128,6 +9233,9 @@
},
"path": {
"description": "api璺緞",
+ "type": "string"
+ },
+ "updated_at": {
"type": "string"
}
}
@@ -9675,7 +9783,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"description": {
@@ -9692,6 +9799,9 @@
},
"path": {
"description": "api璺緞",
+ "type": "string"
+ },
+ "updated_at": {
"type": "string"
}
}
@@ -9750,7 +9860,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"desc": {
@@ -9764,6 +9873,9 @@
"type": "string"
},
"packageName": {
+ "type": "string"
+ },
+ "updated_at": {
"type": "string"
}
}
@@ -9788,7 +9900,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"hidden": {
@@ -9834,6 +9945,9 @@
"sort": {
"description": "鎺掑簭鏍囪",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -9841,7 +9955,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"desc": {
@@ -9856,6 +9969,9 @@
},
"sysBaseMenuID": {
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -9863,7 +9979,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -9881,6 +9996,9 @@
"description": "鍦板潃鏍忔惡甯﹀弬鏁颁负params杩樻槸query",
"type": "string"
},
+ "updated_at": {
+ "type": "string"
+ },
"value": {
"description": "鍦板潃鏍忔惡甯﹀弬鏁扮殑鍊�",
"type": "string"
@@ -9891,7 +10009,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"desc": {
@@ -9919,6 +10036,9 @@
"type": {
"description": "瀛楀吀鍚嶏紙鑻憋級",
"type": "string"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -9926,7 +10046,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -9948,6 +10067,9 @@
"sysDictionaryID": {
"description": "鍏宠仈鏍囪",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
},
"value": {
"description": "瀛楀吀鍊�",
@@ -9981,7 +10103,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"hidden": {
@@ -10030,6 +10151,9 @@
"sort": {
"description": "鎺掑簭鏍囪",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -10045,7 +10169,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"error_message": {
@@ -10079,6 +10202,9 @@
"status": {
"description": "璇锋眰鐘舵��",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
},
"user": {
"$ref": "#/definitions/system.SysUser"
@@ -10114,7 +10240,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"email": {
@@ -10145,6 +10270,9 @@
"description": "鐢ㄦ埛渚ц竟涓婚",
"type": "string"
},
+ "updated_at": {
+ "type": "string"
+ },
"userName": {
"description": "鐢ㄦ埛鐧诲綍鍚�",
"type": "string"
@@ -10167,7 +10295,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"fileName": {
@@ -10179,6 +10306,9 @@
},
"supplierID": {
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -10186,7 +10316,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -10195,6 +10324,9 @@
},
"name": {
"type": "string"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -10202,7 +10334,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -10210,6 +10341,9 @@
"type": "integer"
},
"nickname": {
+ "type": "string"
+ },
+ "updated_at": {
"type": "string"
},
"userName": {
@@ -10224,7 +10358,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"deliveryTime": {
@@ -10272,6 +10405,9 @@
},
"unit": {
"type": "string"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -10294,7 +10430,6 @@
"$ref": "#/definitions/test.Contract"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"detailAddress": {
@@ -10331,6 +10466,9 @@
"supplierType": {
"type": "string"
},
+ "updated_at": {
+ "type": "string"
+ },
"url": {
"type": "string"
}
@@ -10340,7 +10478,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -10349,6 +10486,9 @@
},
"name": {
"type": "string"
+ },
+ "updated_at": {
+ "type": "string"
}
}
}
diff --git a/docs/swagger.json b/docs/swagger.json
index c0e042f..bc3e92b 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -1910,7 +1910,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -1928,6 +1927,11 @@
{
"type": "integer",
"name": "supplierID",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -1961,7 +1965,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -1979,6 +1982,11 @@
{
"type": "integer",
"name": "supplierID",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -2012,7 +2020,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -2059,6 +2066,11 @@
"type": "integer",
"name": "supplierID",
"in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
+ "in": "query"
}
],
"responses": {
@@ -2091,7 +2103,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -2109,6 +2120,11 @@
{
"type": "integer",
"name": "supplierID",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -2180,7 +2196,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -2212,6 +2227,11 @@
"type": "integer",
"description": "绠$悊ID",
"name": "sysUserId",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -2937,7 +2957,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -2950,6 +2969,11 @@
{
"type": "string",
"name": "name",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -2983,7 +3007,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -3024,6 +3047,11 @@
{
"type": "string",
"name": "startCreatedAt",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -3325,7 +3353,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -3338,6 +3365,11 @@
{
"type": "string",
"name": "nickname",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -3381,7 +3413,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -3422,6 +3453,11 @@
{
"type": "string",
"name": "startCreatedAt",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -3465,7 +3501,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -3506,6 +3541,11 @@
{
"type": "string",
"name": "startCreatedAt",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -4161,7 +4201,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -4234,6 +4273,11 @@
{
"type": "string",
"name": "unit",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -4267,7 +4311,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -4368,6 +4411,11 @@
{
"type": "string",
"name": "unit",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -4401,7 +4449,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -4502,6 +4549,11 @@
{
"type": "string",
"name": "unit",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -5210,7 +5262,6 @@
},
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -5272,6 +5323,11 @@
},
{
"type": "string",
+ "name": "updated_at",
+ "in": "query"
+ },
+ {
+ "type": "string",
"name": "url",
"in": "query"
}
@@ -5326,7 +5382,6 @@
},
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -5412,6 +5467,11 @@
{
"type": "string",
"name": "supplierType",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -5602,7 +5662,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -5615,6 +5674,11 @@
{
"type": "string",
"name": "name",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -5648,7 +5712,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -5689,6 +5752,11 @@
{
"type": "string",
"name": "startCreatedAt",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -5860,7 +5928,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -5892,6 +5959,11 @@
"type": "string",
"description": "瀛楀吀鍚嶏紙鑻憋級",
"name": "type",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -5941,7 +6013,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -5991,6 +6062,11 @@
"type": "string",
"description": "瀛楀吀鍚嶏紙鑻憋級",
"name": "type",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
}
],
@@ -6189,7 +6265,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -6221,6 +6296,11 @@
"type": "integer",
"description": "鍏宠仈鏍囪",
"name": "sysDictionaryID",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -6276,7 +6356,6 @@
"parameters": [
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -6326,6 +6405,11 @@
"type": "integer",
"description": "鍏宠仈鏍囪",
"name": "sysDictionaryID",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -6592,7 +6676,6 @@
},
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -6642,6 +6725,11 @@
"type": "integer",
"description": "璇锋眰鐘舵��",
"name": "status",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -6709,7 +6797,6 @@
},
{
"type": "string",
- "description": "鍒涘缓鏃堕棿",
"name": "created_at",
"in": "query"
},
@@ -6777,6 +6864,11 @@
"type": "integer",
"description": "璇锋眰鐘舵��",
"name": "status",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "updated_at",
"in": "query"
},
{
@@ -8328,7 +8420,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"customerName": {
@@ -8358,6 +8449,9 @@
"sysUserId": {
"description": "绠$悊ID",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -8368,7 +8462,6 @@
"type": "integer"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"exaFileChunk": {
@@ -8392,6 +8485,9 @@
},
"isFinish": {
"type": "boolean"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -8399,7 +8495,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"exaFileID": {
@@ -8414,6 +8509,9 @@
"id": {
"description": "涓婚敭ID",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -8421,7 +8519,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -8438,6 +8535,9 @@
},
"tag": {
"description": "鏂囦欢鏍囩",
+ "type": "string"
+ },
+ "updated_at": {
"type": "string"
},
"url": {
@@ -8490,7 +8590,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"creator": {
@@ -8603,6 +8702,9 @@
"description": "鏈敹绁ㄩ噾棰�",
"type": "number"
},
+ "updated_at": {
+ "type": "string"
+ },
"warehouse": {
"description": "鏀惰揣浠撳簱",
"type": "string"
@@ -8629,7 +8731,6 @@
"type": "number"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -8655,6 +8756,9 @@
"total": {
"description": "閲囪喘鎬讳环",
"type": "number"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -8662,7 +8766,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -8680,6 +8783,9 @@
"sort": {
"description": "鎺掑簭",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -9082,7 +9188,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"desc": {
@@ -9119,6 +9224,9 @@
},
"path": {
"description": "api璺緞",
+ "type": "string"
+ },
+ "updated_at": {
"type": "string"
}
}
@@ -9666,7 +9774,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"description": {
@@ -9683,6 +9790,9 @@
},
"path": {
"description": "api璺緞",
+ "type": "string"
+ },
+ "updated_at": {
"type": "string"
}
}
@@ -9741,7 +9851,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"desc": {
@@ -9755,6 +9864,9 @@
"type": "string"
},
"packageName": {
+ "type": "string"
+ },
+ "updated_at": {
"type": "string"
}
}
@@ -9779,7 +9891,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"hidden": {
@@ -9825,6 +9936,9 @@
"sort": {
"description": "鎺掑簭鏍囪",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -9832,7 +9946,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"desc": {
@@ -9847,6 +9960,9 @@
},
"sysBaseMenuID": {
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -9854,7 +9970,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -9872,6 +9987,9 @@
"description": "鍦板潃鏍忔惡甯﹀弬鏁颁负params杩樻槸query",
"type": "string"
},
+ "updated_at": {
+ "type": "string"
+ },
"value": {
"description": "鍦板潃鏍忔惡甯﹀弬鏁扮殑鍊�",
"type": "string"
@@ -9882,7 +10000,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"desc": {
@@ -9910,6 +10027,9 @@
"type": {
"description": "瀛楀吀鍚嶏紙鑻憋級",
"type": "string"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -9917,7 +10037,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -9939,6 +10058,9 @@
"sysDictionaryID": {
"description": "鍏宠仈鏍囪",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
},
"value": {
"description": "瀛楀吀鍊�",
@@ -9972,7 +10094,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"hidden": {
@@ -10021,6 +10142,9 @@
"sort": {
"description": "鎺掑簭鏍囪",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -10036,7 +10160,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"error_message": {
@@ -10070,6 +10193,9 @@
"status": {
"description": "璇锋眰鐘舵��",
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
},
"user": {
"$ref": "#/definitions/system.SysUser"
@@ -10105,7 +10231,6 @@
"type": "string"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"email": {
@@ -10136,6 +10261,9 @@
"description": "鐢ㄦ埛渚ц竟涓婚",
"type": "string"
},
+ "updated_at": {
+ "type": "string"
+ },
"userName": {
"description": "鐢ㄦ埛鐧诲綍鍚�",
"type": "string"
@@ -10158,7 +10286,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"fileName": {
@@ -10170,6 +10297,9 @@
},
"supplierID": {
"type": "integer"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -10177,7 +10307,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -10186,6 +10315,9 @@
},
"name": {
"type": "string"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -10193,7 +10325,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -10201,6 +10332,9 @@
"type": "integer"
},
"nickname": {
+ "type": "string"
+ },
+ "updated_at": {
"type": "string"
},
"userName": {
@@ -10215,7 +10349,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"deliveryTime": {
@@ -10263,6 +10396,9 @@
},
"unit": {
"type": "string"
+ },
+ "updated_at": {
+ "type": "string"
}
}
},
@@ -10285,7 +10421,6 @@
"$ref": "#/definitions/test.Contract"
},
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"detailAddress": {
@@ -10322,6 +10457,9 @@
"supplierType": {
"type": "string"
},
+ "updated_at": {
+ "type": "string"
+ },
"url": {
"type": "string"
}
@@ -10331,7 +10469,6 @@
"type": "object",
"properties": {
"created_at": {
- "description": "鍒涘缓鏃堕棿",
"type": "string"
},
"id": {
@@ -10340,6 +10477,9 @@
},
"name": {
"type": "string"
+ },
+ "updated_at": {
+ "type": "string"
}
}
}
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 2df7b38..bb151bb 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -596,7 +596,6 @@
example.ExaCustomer:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
customerName:
description: 瀹㈡埛鍚�
@@ -617,13 +616,14 @@
sysUserId:
description: 绠$悊ID
type: integer
+ updated_at:
+ type: string
type: object
example.ExaFile:
properties:
chunkTotal:
type: integer
created_at:
- description: 鍒涘缓鏃堕棿
type: string
exaFileChunk:
items:
@@ -640,11 +640,12 @@
type: integer
isFinish:
type: boolean
+ updated_at:
+ type: string
type: object
example.ExaFileChunk:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
exaFileID:
type: integer
@@ -655,11 +656,12 @@
id:
description: 涓婚敭ID
type: integer
+ updated_at:
+ type: string
type: object
example.ExaFileUploadAndDownload:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
id:
description: 涓婚敭ID
@@ -672,6 +674,8 @@
type: string
tag:
description: 鏂囦欢鏍囩
+ type: string
+ updated_at:
type: string
url:
description: 鏂囦欢鍦板潃
@@ -711,7 +715,6 @@
description: 鑱旂郴浜�
type: string
created_at:
- description: 鍒涘缓鏃堕棿
type: string
creator:
description: 鍒跺崟浜�
@@ -791,6 +794,8 @@
unInvoiceAmount:
description: 鏈敹绁ㄩ噾棰�
type: number
+ updated_at:
+ type: string
warehouse:
description: 鏀惰揣浠撳簱
type: string
@@ -808,7 +813,6 @@
description: 閲囪喘鏁伴噺
type: number
created_at:
- description: 鍒涘缓鏃堕棿
type: string
id:
description: 涓婚敭ID
@@ -828,11 +832,12 @@
total:
description: 閲囪喘鎬讳环
type: number
+ updated_at:
+ type: string
type: object
purchase.PurchaseType:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
id:
description: 涓婚敭ID
@@ -846,6 +851,8 @@
sort:
description: 鎺掑簭
type: integer
+ updated_at:
+ type: string
type: object
purchase.WholeDiscountType:
enum:
@@ -1122,7 +1129,6 @@
description: api缁�
type: string
created_at:
- description: 鍒涘缓鏃堕棿
type: string
desc:
description: 鎺掑簭鏂瑰紡:鍗囧簭false(榛樿)|闄嶅簭true
@@ -1150,6 +1156,8 @@
type: integer
path:
description: api璺緞
+ type: string
+ updated_at:
type: string
type: object
request.SetUserAuth:
@@ -1521,7 +1529,6 @@
description: api缁�
type: string
created_at:
- description: 鍒涘缓鏃堕棿
type: string
description:
description: api涓枃鎻忚堪
@@ -1534,6 +1541,8 @@
type: string
path:
description: api璺緞
+ type: string
+ updated_at:
type: string
type: object
system.SysAuthority:
@@ -1574,7 +1583,6 @@
system.SysAutoCode:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
desc:
type: string
@@ -1584,6 +1592,8 @@
label:
type: string
packageName:
+ type: string
+ updated_at:
type: string
type: object
system.SysBaseMenu:
@@ -1600,7 +1610,6 @@
description: 瀵瑰簲鍓嶇鏂囦欢璺緞
type: string
created_at:
- description: 鍒涘缓鏃堕棿
type: string
hidden:
description: 鏄惁鍦ㄥ垪琛ㄩ殣钘�
@@ -1632,11 +1641,12 @@
sort:
description: 鎺掑簭鏍囪
type: integer
+ updated_at:
+ type: string
type: object
system.SysBaseMenuBtn:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
desc:
type: string
@@ -1647,11 +1657,12 @@
type: string
sysBaseMenuID:
type: integer
+ updated_at:
+ type: string
type: object
system.SysBaseMenuParameter:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
id:
description: 涓婚敭ID
@@ -1664,6 +1675,8 @@
type:
description: 鍦板潃鏍忔惡甯﹀弬鏁颁负params杩樻槸query
type: string
+ updated_at:
+ type: string
value:
description: 鍦板潃鏍忔惡甯﹀弬鏁扮殑鍊�
type: string
@@ -1671,7 +1684,6 @@
system.SysDictionary:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
desc:
description: 鎻忚堪
@@ -1692,11 +1704,12 @@
type:
description: 瀛楀吀鍚嶏紙鑻憋級
type: string
+ updated_at:
+ type: string
type: object
system.SysDictionaryDetail:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
id:
description: 涓婚敭ID
@@ -1713,6 +1726,8 @@
sysDictionaryID:
description: 鍏宠仈鏍囪
type: integer
+ updated_at:
+ type: string
value:
description: 瀛楀吀鍊�
type: integer
@@ -1735,7 +1750,6 @@
description: 瀵瑰簲鍓嶇鏂囦欢璺緞
type: string
created_at:
- description: 鍒涘缓鏃堕棿
type: string
hidden:
description: 鏄惁鍦ㄥ垪琛ㄩ殣钘�
@@ -1769,6 +1783,8 @@
sort:
description: 鎺掑簭鏍囪
type: integer
+ updated_at:
+ type: string
type: object
system.SysOperationRecord:
properties:
@@ -1779,7 +1795,6 @@
description: 璇锋眰Body
type: string
created_at:
- description: 鍒涘缓鏃堕棿
type: string
error_message:
description: 閿欒淇℃伅
@@ -1805,6 +1820,8 @@
status:
description: 璇锋眰鐘舵��
type: integer
+ updated_at:
+ type: string
user:
$ref: '#/definitions/system.SysUser'
user_id:
@@ -1829,7 +1846,6 @@
description: 鍩虹棰滆壊
type: string
created_at:
- description: 鍒涘缓鏃堕棿
type: string
email:
description: 鐢ㄦ埛閭
@@ -1852,6 +1868,8 @@
sideMode:
description: 鐢ㄦ埛渚ц竟涓婚
type: string
+ updated_at:
+ type: string
userName:
description: 鐢ㄦ埛鐧诲綍鍚�
type: string
@@ -1867,7 +1885,6 @@
test.Contract:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
fileName:
type: string
@@ -1876,27 +1893,31 @@
type: integer
supplierID:
type: integer
+ updated_at:
+ type: string
type: object
test.Industry:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
id:
description: 涓婚敭ID
type: integer
name:
type: string
+ updated_at:
+ type: string
type: object
test.Member:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
id:
description: 涓婚敭ID
type: integer
nickname:
+ type: string
+ updated_at:
type: string
userName:
type: string
@@ -1906,7 +1927,6 @@
test.Product:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
deliveryTime:
type: integer
@@ -1939,6 +1959,8 @@
type: integer
unit:
type: string
+ updated_at:
+ type: string
type: object
test.Supplier:
properties:
@@ -1953,7 +1975,6 @@
contract:
$ref: '#/definitions/test.Contract'
created_at:
- description: 鍒涘缓鏃堕棿
type: string
detailAddress:
type: string
@@ -1978,18 +1999,21 @@
type: integer
supplierType:
type: string
+ updated_at:
+ type: string
url:
type: string
type: object
test.SupplierType:
properties:
created_at:
- description: 鍒涘缓鏃堕棿
type: string
id:
description: 涓婚敭ID
type: integer
name:
+ type: string
+ updated_at:
type: string
type: object
info:
@@ -3072,8 +3096,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -3086,6 +3109,9 @@
- in: query
name: supplierID
type: integer
+ - in: query
+ name: updated_at
+ type: string
produces:
- application/json
responses:
@@ -3103,8 +3129,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -3117,6 +3142,9 @@
- in: query
name: supplierID
type: integer
+ - in: query
+ name: updated_at
+ type: string
produces:
- application/json
responses:
@@ -3134,8 +3162,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -3166,6 +3193,9 @@
- in: query
name: supplierID
type: integer
+ - in: query
+ name: updated_at
+ type: string
produces:
- application/json
responses:
@@ -3183,8 +3213,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -3197,6 +3226,9 @@
- in: query
name: supplierID
type: integer
+ - in: query
+ name: updated_at
+ type: string
produces:
- application/json
responses:
@@ -3264,8 +3296,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- description: 瀹㈡埛鍚�
@@ -3288,6 +3319,9 @@
in: query
name: sysUserId
type: integer
+ - in: query
+ name: updated_at
+ type: string
produces:
- application/json
responses:
@@ -3674,8 +3708,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- description: 涓婚敭ID
@@ -3684,6 +3717,9 @@
type: integer
- in: query
name: name
+ type: string
+ - in: query
+ name: updated_at
type: string
produces:
- application/json
@@ -3702,8 +3738,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -3730,6 +3765,9 @@
type: integer
- in: query
name: startCreatedAt
+ type: string
+ - in: query
+ name: updated_at
type: string
produces:
- application/json
@@ -3905,8 +3943,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- description: 涓婚敭ID
@@ -3915,6 +3952,9 @@
type: integer
- in: query
name: nickname
+ type: string
+ - in: query
+ name: updated_at
type: string
- in: query
name: userName
@@ -3939,8 +3979,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -3967,6 +4006,9 @@
type: integer
- in: query
name: startCreatedAt
+ type: string
+ - in: query
+ name: updated_at
type: string
- in: query
name: userName
@@ -3991,8 +4033,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -4019,6 +4060,9 @@
type: integer
- in: query
name: startCreatedAt
+ type: string
+ - in: query
+ name: updated_at
type: string
- in: query
name: userName
@@ -4394,8 +4438,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -4440,6 +4483,9 @@
type: integer
- in: query
name: unit
+ type: string
+ - in: query
+ name: updated_at
type: string
produces:
- application/json
@@ -4458,8 +4504,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -4522,6 +4567,9 @@
type: integer
- in: query
name: unit
+ type: string
+ - in: query
+ name: updated_at
type: string
produces:
- application/json
@@ -4540,8 +4588,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -4604,6 +4651,9 @@
type: integer
- in: query
name: unit
+ type: string
+ - in: query
+ name: updated_at
type: string
produces:
- application/json
@@ -5013,8 +5063,7 @@
- in: query
name: contact
type: string
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -5052,6 +5101,9 @@
name: supplierType
type: string
- in: query
+ name: updated_at
+ type: string
+ - in: query
name: url
type: string
produces:
@@ -5083,8 +5135,7 @@
- in: query
name: contact
type: string
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -5138,6 +5189,9 @@
type: integer
- in: query
name: supplierType
+ type: string
+ - in: query
+ name: updated_at
type: string
- in: query
name: url
@@ -5251,8 +5305,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- description: 涓婚敭ID
@@ -5261,6 +5314,9 @@
type: integer
- in: query
name: name
+ type: string
+ - in: query
+ name: updated_at
type: string
produces:
- application/json
@@ -5279,8 +5335,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- in: query
@@ -5307,6 +5362,9 @@
type: integer
- in: query
name: startCreatedAt
+ type: string
+ - in: query
+ name: updated_at
type: string
produces:
- application/json
@@ -5404,8 +5462,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- description: 鎻忚堪
@@ -5427,6 +5484,9 @@
- description: 瀛楀吀鍚嶏紙鑻憋級
in: query
name: type
+ type: string
+ - in: query
+ name: updated_at
type: string
produces:
- application/json
@@ -5453,8 +5513,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- description: 鎻忚堪
@@ -5488,6 +5547,9 @@
- description: 瀛楀吀鍚嶏紙鑻憋級
in: query
name: type
+ type: string
+ - in: query
+ name: updated_at
type: string
produces:
- application/json
@@ -5597,8 +5659,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- description: 涓婚敭ID
@@ -5621,6 +5682,9 @@
in: query
name: sysDictionaryID
type: integer
+ - in: query
+ name: updated_at
+ type: string
- description: 瀛楀吀鍊�
in: query
name: value
@@ -5650,8 +5714,7 @@
consumes:
- application/json
parameters:
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- description: 涓婚敭ID
@@ -5686,6 +5749,9 @@
in: query
name: sysDictionaryID
type: integer
+ - in: query
+ name: updated_at
+ type: string
- description: 瀛楀吀鍊�
in: query
name: value
@@ -5834,8 +5900,7 @@
in: query
name: body
type: string
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- description: 閿欒淇℃伅
@@ -5870,6 +5935,9 @@
in: query
name: status
type: integer
+ - in: query
+ name: updated_at
+ type: string
- description: 鐢ㄦ埛id
in: query
name: user_id
@@ -5907,8 +5975,7 @@
in: query
name: body
type: string
- - description: 鍒涘缓鏃堕棿
- in: query
+ - in: query
name: created_at
type: string
- description: 閿欒淇℃伅
@@ -5955,6 +6022,9 @@
in: query
name: status
type: integer
+ - in: query
+ name: updated_at
+ type: string
- description: 鐢ㄦ埛id
in: query
name: user_id
diff --git a/global/model.go b/global/model.go
index aef7b54..b4594ee 100644
--- a/global/model.go
+++ b/global/model.go
@@ -8,7 +8,16 @@
type GVA_MODEL struct {
ID uint `gorm:"primarykey"` // 涓婚敭ID
- CreatedAt *time.Time `json:"created_at"` // 鍒涘缓鏃堕棿
+ CreatedAt *time.Time `json:"-"` // 鍒涘缓鏃堕棿
UpdatedAt *time.Time `json:"-"` // 鏇存柊鏃堕棿
DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` // 鍒犻櫎鏃堕棿
+
+ FormattedCreatedAt string `gorm:"-" json:"created_at"`
+ FormattedUpdatedAt string `gorm:"-" json:"updated_at"`
+}
+
+func (m *GVA_MODEL) AfterFind(tx *gorm.DB) (err error) {
+ m.FormattedCreatedAt = m.CreatedAt.Format("2006-01-02 15:04:05")
+ m.FormattedUpdatedAt = m.UpdatedAt.Format("2006-01-02 15:04:05")
+ return
}
--
Gitblit v1.8.0