Blame view

service-api/src/main/java/com/java110/api/smo/login/IOwnerAppLoginSMO.java 1.82 KB
88e030b7   王彪总   init project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
  package com.java110.api.smo.login;
  
  import com.java110.core.context.IPageData;
  import com.java110.utils.exception.SMOException;
  import org.springframework.http.ResponseEntity;
  
  import javax.servlet.http.HttpServletRequest;
  import javax.servlet.http.HttpServletResponse;
  
  /**
   * 组织管理管理服务接口类
   * <p>
   * add by wuxw 2019-06-29
   */
  public interface IOwnerAppLoginSMO {
  
      /**
       * 获取微信回话信息
       *
       * @param pd 页面数据封装
       * @return ResponseEntity 对象数据
       * @throws SMOException 业务代码层
       */
      ResponseEntity<String> doLogin(IPageData pd) throws SMOException;
  
      /**
       * 根据key 登录
       *
       * @param pd 页面数据封装
       * @return ResponseEntity 对象数据
       * @throws SMOException 业务代码层
       */
      ResponseEntity<String> doLoginByKey(IPageData pd) throws SMOException;
  
      /**
       * 获取access_token
       *
       * @param pd
       * @return
       * @throws SMOException
       */
      ResponseEntity<String> getPageAccessToken(IPageData pd, HttpServletRequest request) throws SMOException;
  
  
      /**
       * 微信刷新token
       *
       * @param pd
       * @return
       * @throws SMOException
       */
      ResponseEntity<String> refreshToken(IPageData pd, String redirectUrl, String errorUrl,
                                          String loginFlag,
                                          HttpServletRequest request, HttpServletResponse response) throws SMOException;
  
      /**
       * 刷新openId
       *
       * @param pd
       * @param redirectUrl
       * @param request
       * @param response
       * @return
       */
      ResponseEntity<String> refreshOpenId(IPageData pd, String redirectUrl, String wAppId, HttpServletRequest request, HttpServletResponse response);
  
      ResponseEntity openServiceNotifyOpenId(IPageData pd, HttpServletRequest request);
  }