Commit 6cbed66c by 徐高华

登录判断

parent 5fc3fa3d
......@@ -175,6 +175,7 @@ public class QywxOpenController {
*/
@RequestMapping("login-init")
@IgnoreLogin
@com.gic.web.common.ano.IgnoreLogin
public RestResponse<OpenStaffDTO> init(String staffId, @RequestParam(defaultValue = "0") int loginAgainFlag , String wxEnterpriseId , String enterpriseId) {
WebLoginDTO loginUser = AuthWebRequestUtil.getLoginUser();
ServiceResponse<OpenStaffDTO> staffResp = this.openStaffApiService.getByStaffId(staffId) ;
......@@ -242,6 +243,7 @@ public class QywxOpenController {
*/
@RequestMapping("get-open-staff")
@IgnoreLogin
@com.gic.web.common.ano.IgnoreLogin
public RestResponse<OpenStaffDTO> getOpenStaff(Long openStaffId) {
ServiceResponse<OpenStaffDTO> resp = this.openStaffApiService.getById(openStaffId);
if (!resp.isSuccess()) {
......@@ -263,6 +265,7 @@ public class QywxOpenController {
*/
@RequestMapping("check-code")
@IgnoreLogin
@com.gic.web.common.ano.IgnoreLogin
public RestResponse<Void> checkCode(Long openStaffId, String code) {
ServiceResponse<Void> resp = this.openStaffApiService.checkCode(openStaffId, code);
if (!resp.isSuccess()) {
......@@ -382,6 +385,7 @@ public class QywxOpenController {
* @return
*/
@IgnoreLogin
@com.gic.web.common.ano.IgnoreLogin
@RequestMapping("open-qrcode-for-clerk")
public RestResponse<OpenClerkVO> cancelOpenStaff(String wxEnterpriseId , String enterpriseId , String clerkCode) {
if(org.apache.commons.lang3.StringUtils.isAnyBlank(wxEnterpriseId,enterpriseId,clerkCode)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment