开发代码 package com.wlpt.swpt.portal.common.wx;
import cn.hutool.core.util.URLUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.pig4cloud.pigx.common.core.util.R;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;
/**
* @program: swpt
* @description:
* @author: fq
* @create: 2020-03-25 11:55
**/
@RestController
@AllArgsConstructor
@RequestMapping("/wxauth" )
@Api(value = "