微信API操作Controller类
import com.mytest.edu.entity.MemberCenter;
import com.mytest.edu.service.MemberCenterService;
import com.mytest.edu.utils.HttpClientUtils;
import com.mytest.edu.utils.JwtUtils;
import com.mytest.gson.Gson;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import java.net.URLEncoder;
import java.util.HashMap;
@Controller
@RequestMapping("/api/ucenter/wx")
public class WxApiController {
@Value