| | |
| | | public R<Map<String, Object>> openIdByCode(@RequestBody OfficeUserEncrypteData data) { |
| | | log.info("<<<<<<<<换取openid开始<<<<<<<<:{}", data.getCode()); |
| | | WxAppletTools appletTools = new WxAppletTools(wxRestTemplate, wxConfig, redisService); |
| | | Code2SessionRespBody body = appletTools.getOpenIdByJscode2session(new Code2SessionResqBody().build(data.getCode())); |
| | | Code2SessionRespBody body = appletTools.getOpenIdByCode2session(new Code2SessionResqBody().build(data.getCode())); |
| | | String openid = body.getOpenid(); |
| | | String phone = data.getPhone(); |
| | | if(StringUtils.isEmpty(phone)){ |
| | |
| | | prefix: https://xzgt.test.591taxi.cn:${server.port}${server.servlet.context-path} |
| | | wx: |
| | | conf: |
| | | appId: wxa17e8d1331e50934 |
| | | secretId: 79c234527fd3b6553679d52be5e29b19 |
| | | appId: wxbf902715e30bdb38 |
| | | secretId: 4a9d4c800cbc778a553bab7c423e85ad |
| | | # appId: wxa17e8d1331e50934 |
| | | # secretId: 79c234527fd3b6553679d52be5e29b19 |
| | | appLiveResultTemplateId: 1wheNdyQ88Cz9Z7L1EXxR2L0u4X4LaeXoZVtZwHCagk |
| | | officeAppLiveResultTemplateId: 7w1JVe3S4ClFnff7g8us7x-hqFuV3f2SKjKclP_X2FI |
| | | payment: |
| | |
| | | "/t-sys-banner/pageList","/t-sys-banner/list","/t-sys-product-introduction/pageList", |
| | | "/t-sys-product-introduction/list","/t-sys-product-introduction/getDetailById","/t-sys-config/getDetailById", |
| | | "/t-sys-educational-info/list","/t-sys-educational-info/getDetailById","/t-sys-educational-info/pageList", |
| | | "/t-sys-educational-info/list","/t-sys-educational-info/getDetailById","/t-sys-educational-info/pageList", |
| | | "/t-sys-live/list","/t-sys-live/getDetailById","/t-sys-live/pageList", |
| | | "/open/**","/cos/get/**","/openIdByJsCode","/t-sys-order/**" |
| | | "/open/**","/cos/get/**","/openIdByJsCode","/t-sys-order/**","/openIdByCode" |
| | | ).permitAll() |
| | | // 静态资源,可匿名访问 |
| | | .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll() |