|
@@ -28,6 +28,20 @@ import com.zskk.util.ErrorConstant;
|
|
* @author Liu Tao
|
|
* @author Liu Tao
|
|
*/
|
|
*/
|
|
public class WxaUserApiController extends WxaController {
|
|
public class WxaUserApiController extends WxaController {
|
|
|
|
+
|
|
|
|
+ public void test() {
|
|
|
|
+ try {
|
|
|
|
+ IAccessTokenCache accessTokenCache = ApiConfigKit.getAccessTokenCache();
|
|
|
|
+ accessTokenCache.set("wxa:session:" + "test1","testruselt");
|
|
|
|
+ renderText("testruselt");
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ // TODO: handle exception
|
|
|
|
+ renderText(e.toString());
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }
|
|
/**
|
|
/**
|
|
* 使用小程序端获取的code登陆接口
|
|
* 使用小程序端获取的code登陆接口
|
|
*/
|
|
*/
|