Commit 4a22fd74 authored by yanzg's avatar yanzg

添加对Android的支持

parent f35d1051
package com.yanzuoguang.cloud.service;
import com.yanzuoguang.token.TokenData;
import com.yanzuoguang.token.TokenHelper;
import com.yanzuoguang.token.TokenLoad;
import com.yanzuoguang.util.log.Log;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -22,6 +23,10 @@ public class TokenServiceCall implements TokenLoad {
private boolean initFlag = false;
public TokenServiceCall() {
TokenHelper.setTokenLoad(this);
}
private void init() {
try {
tokenService = context.getBean(TokenService.class);
......
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