File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ type GetInstanceAuditPlansResV1 struct {
437
437
438
438
type InstanceAuditPlanResV1 struct {
439
439
InstanceAuditPlanId uint `json:"instance_audit_plan_id"`
440
- InstanceID uint64 `json:"instance_id"`
440
+ InstanceID string `json:"instance_id"`
441
441
InstanceName string `json:"instance_name"`
442
442
Business string `json:"business"`
443
443
InstanceType string `json:"instance_type"`
@@ -527,7 +527,7 @@ func GetInstanceAuditPlans(c echo.Context) error {
527
527
inst := dms .GetInstancesByIdWithoutError (v .InstanceID )
528
528
resData [i ] = InstanceAuditPlanResV1 {
529
529
InstanceAuditPlanId : v .Id ,
530
- InstanceID : inst .ID ,
530
+ InstanceID : strconv . FormatUint ( inst .ID , 10 ) ,
531
531
InstanceName : inst .Name ,
532
532
Business : inst .Business ,
533
533
InstanceType : v .DBType ,
Original file line number Diff line number Diff line change @@ -10306,8 +10306,8 @@ var doc = `{
10306
10306
"priority": {
10307
10307
"type": "string",
10308
10308
"enum": [
10309
- "high ",
10310
- "'' "
10309
+ "",
10310
+ "high "
10311
10311
]
10312
10312
},
10313
10313
"remark": {
@@ -13070,7 +13070,7 @@ var doc = `{
13070
13070
"type": "integer"
13071
13071
},
13072
13072
"instance_id": {
13073
- "type": "integer "
13073
+ "type": "string "
13074
13074
},
13075
13075
"instance_name": {
13076
13076
"type": "string"
Original file line number Diff line number Diff line change 10290
10290
"priority": {
10291
10291
"type": "string",
10292
10292
"enum": [
10293
- "high ",
10294
- "'' "
10293
+ "",
10294
+ "high "
10295
10295
]
10296
10296
},
10297
10297
"remark": {
13054
13054
"type": "integer"
13055
13055
},
13056
13056
"instance_id": {
13057
- "type": "integer "
13057
+ "type": "string "
13058
13058
},
13059
13059
"instance_name": {
13060
13060
"type": "string"
Original file line number Diff line number Diff line change @@ -501,8 +501,8 @@ definitions:
501
501
type : array
502
502
priority :
503
503
enum :
504
+ - " "
504
505
- high
505
- - ' '''' '
506
506
type : string
507
507
remark :
508
508
type : string
@@ -2413,7 +2413,7 @@ definitions:
2413
2413
instance_audit_plan_id :
2414
2414
type : integer
2415
2415
instance_id :
2416
- type : integer
2416
+ type : string
2417
2417
instance_name :
2418
2418
type : string
2419
2419
instance_type :
You can’t perform that action at this time.
0 commit comments