|
|
@ -17,6 +17,7 @@ import com.yxt.yyth.api.lpkcustomer.LpkCustomerQuery; |
|
|
|
import com.yxt.yyth.api.lpkcustomer.LpkCustomerVo; |
|
|
|
import com.yxt.yyth.api.lpkcustomer.WxBindMobileDto; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
import org.springframework.http.ResponseEntity; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.web.client.RestTemplate; |
|
|
@ -33,13 +34,18 @@ public class LpkCustomerService extends MybatisBaseService<LpkCustomerMapper, Lp |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private FileUploadComponent fileUploadComponent; |
|
|
|
@Value("${weixin.miniprogram.appid:wx4724e3a3c27f36b5}") |
|
|
|
String APP_ID; |
|
|
|
@Value("${weixin.miniprogram.secret:971fd3b8aa7b08ce3e8a5f3e502b1a8d}") |
|
|
|
String SECRET; |
|
|
|
|
|
|
|
// 汇融惠享
|
|
|
|
String APP_ID = "wx4724e3a3c27f36b5"; |
|
|
|
String SECRET = "971fd3b8aa7b08ce3e8a5f3e502b1a8d"; |
|
|
|
// String APP_ID = "wx4724e3a3c27f36b5";
|
|
|
|
// String SECRET = "971fd3b8aa7b08ce3e8a5f3e502b1a8d";
|
|
|
|
// 汇融云眼
|
|
|
|
// String APP_ID = "wx11565021714ba796";
|
|
|
|
// String SECRET = "eb511fbb5f864cdabc3d044b639814c9";
|
|
|
|
// 汇融惠家
|
|
|
|
// 汇融惠农
|
|
|
|
// String APP_ID = "wx97c0a62c6d65207f";
|
|
|
|
// String SECRET = "e4572da4407573213377cd00e422397d";
|
|
|
|
private static final String WX_URL_LOGIN = "https://api.weixin.qq.com/sns/jscode2session?appid=APPID&secret=SECRET&js_code=JSCODE&grant_type=authorization_code "; |
|
|
|