李昊 4 years ago
parent
commit
0cd12148cc

+ 1 - 1
gx_api/GxPress/Api/GxPress.Api/AdminControllers/AdminSystemLabelController.cs

@@ -29,7 +29,7 @@ namespace GxPress.Api.AdminControllers
         [HttpPut]
         [HttpPut]
         public async Task<bool> UpdateAsync(SystemLabelUpRequest request)
         public async Task<bool> UpdateAsync(SystemLabelUpRequest request)
         {
         {
-            return await _repository.UpdateAsync(note);
+            return await _repository.UpdateAsync(request);
         }
         }
         [HttpGet]
         [HttpGet]
         public async Task<IEnumerable<Entity.SystemLabel.SystemLabel>> GetAllAsync()
         public async Task<IEnumerable<Entity.SystemLabel.SystemLabel>> GetAllAsync()