style: 测试参数
This commit is contained in:
@@ -76,7 +76,7 @@ func (s *TestController) Demo(c *gin.Context) {
|
||||
}
|
||||
}
|
||||
if body.OperType == "config" {
|
||||
err := s.configService.ConfigUploadOSS("OMC")
|
||||
err := s.configService.ConfigUploadOSS("SMF")
|
||||
c.JSON(200, map[string]any{
|
||||
"requestId": body.RequestId,
|
||||
"operType": body.OperType,
|
||||
@@ -85,7 +85,7 @@ func (s *TestController) Demo(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
if body.OperType == "performance" {
|
||||
err := s.performanceService.PerformanceUploadOSS("AMF", "2024-02-15 10:16:30", "2024-03-07 10:20:08")
|
||||
err := s.performanceService.PerformanceUploadOSS("SMF", "2024-03-20 19:00:05", "2024-03-20 19:50:05")
|
||||
c.JSON(200, map[string]any{
|
||||
"requestId": body.RequestId,
|
||||
"operType": body.OperType,
|
||||
|
||||
Reference in New Issue
Block a user