jiangjc 2 months ago
parent
commit
89e0201856
1 changed files with 1 additions and 1 deletions
  1. 1 1
      OASystem/OASystem.Api/Controllers/AuthController.cs

+ 1 - 1
OASystem/OASystem.Api/Controllers/AuthController.cs

@@ -414,7 +414,7 @@ namespace OASystem.API.Controllers
         {
             var view = await _deviceTokenRepository.GetToken(dto.account);
 
-            if (view.Code == 0) return Ok(JsonView(true, "操作成功!"));
+            if (view.Code == 0) return Ok(JsonView(true, "操作成功!", view.Data));
 
             return Ok(JsonView(false, view.Msg));
         }