|
@@ -140,7 +140,7 @@ public class QwUserController extends BaseController
|
|
|
return qwUserService.loginQwCode(loginParam);
|
|
|
}
|
|
|
|
|
|
- @PreAuthorize("@ss.hasPermi('qw:user:login')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('qw:user:loginQwIpad')")
|
|
|
@PostMapping("/loginQwIpad")
|
|
|
public R loginQwIpad(@RequestBody QwLoginHookParam loginParam){
|
|
|
return qwUserService.loginQwIpad(loginParam);
|
|
@@ -151,28 +151,27 @@ public class QwUserController extends BaseController
|
|
|
* @param loginParam
|
|
|
* @return
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('qw:user:login')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('qw:user:allocateRemoteHost')")
|
|
|
@PostMapping("/allocateRemoteHost")
|
|
|
@RepeatSubmit
|
|
|
public R allocateRemoteHost(@RequestBody QwLoginHookParam loginParam){
|
|
|
return qwUserService.allocateRemoteHost(loginParam);
|
|
|
}
|
|
|
|
|
|
- @PreAuthorize("@ss.hasPermi('qw:user:login')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('qw:user:getQwIpad')")
|
|
|
@PostMapping("/getQwIpad")
|
|
|
@RepeatSubmit
|
|
|
public R getQwIpad(@RequestBody QwLoginHookParam loginParam){
|
|
|
return qwUserService.getQwIpad(loginParam);
|
|
|
}
|
|
|
|
|
|
- @PreAuthorize("@ss.hasPermi('qw:user:login')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('qw:user:delQwIpad')")
|
|
|
@PostMapping("/delQwIpad")
|
|
|
@RepeatSubmit
|
|
|
public R delQwIpad(@RequestBody QwLoginHookParam loginParam){
|
|
|
return qwUserService.delQwIpad(loginParam);
|
|
|
}
|
|
|
|
|
|
- @PreAuthorize("@ss.hasPermi('qw:user:login')")
|
|
|
@PostMapping("/qrCodeStatus")
|
|
|
public R qrCodeStatus(@RequestBody QwLoginHookParam loginParam){
|
|
|
return qwUserService.qrCodeStatus(loginParam);
|
|
@@ -183,11 +182,13 @@ public class QwUserController extends BaseController
|
|
|
return qwUserService.qrCodeVerify(loginParam);
|
|
|
}
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('qw:user:outLoginQwIpad')")
|
|
|
@PostMapping("/outLoginQwIpad")
|
|
|
public R outLoginQwIpad(@RequestBody QwLoginHookParam loginParam){
|
|
|
return qwUserService.outLoginQwIpad(loginParam);
|
|
|
}
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('qw:user:twoCode')")
|
|
|
@PostMapping("/twoCode")
|
|
|
public R twoCode(@RequestBody QwLoginHookParam loginParam){
|
|
|
return qwUserService.getTwoCode(loginParam);
|