bug
luohairen
2024-10-30 df4898d55d3aa97f2cf455b4c351c37f2b84e257
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.ycl.jxkg.controller.wx;
 
import com.ycl.jxkg.context.WxContext;
import com.ycl.jxkg.domain.entity.User;
import com.ycl.jxkg.domain.entity.UserToken;
import org.springframework.beans.factory.annotation.Autowired;
 
public class BaseWXApiController {
 
    @Autowired
    private WxContext wxContext;
 
    protected User getCurrentUser() {
        return wxContext.getCurrentUser();
    }
 
    protected UserToken getUserToken() {
        return wxContext.getCurrentUserToken();
    }
}