Commit 7970d2e976fb2954ac0b96cae5acaebd06850fc5
1 parent
b6ad33e4
feat(*): 重构
- 重构
Showing
1 changed file
with
1 additions
and
1 deletions
fw-hermes-server/src/main/kotlin/cn/fw/hermes/controller/common/XinGeDebugController.kt
... | ... | @@ -42,7 +42,7 @@ class XinGeDebugController(private val xinGeProperty: XinGeProperty, private val |
42 | 42 | } |
43 | 43 | |
44 | 44 | @ControllerMethod("信鸽token解绑测试") |
45 | - @GetMapping("/token/bind") | |
45 | + @GetMapping("/token/unbind") | |
46 | 46 | fun unbind(@NotNull(message = "用户id不能为空") userId: Long?, @RequestParam(value = "accountType", defaultValue = "1", required = false) accountType: Int?): Message<Void> { |
47 | 47 | userId?.let { xgPushService.delUserToken(it, AccountTypeEnum.ofValue(accountType)) } |
48 | 48 | return success() | ... | ... |