Commit 761603a0 authored by 廖旭伟's avatar 廖旭伟

微信小程序相关配置

parent 2c159d8e
Pipeline #2975 canceled with stages
......@@ -41,6 +41,8 @@
<profiles.nacos.server-addr>192.168.0.252:8848</profiles.nacos.server-addr>
<profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group>
<profiles.nacos.namespace>smart-gov</profiles.nacos.namespace>
<profiles.wx.appId>wxd3d6df0ebaf88f98</profiles.wx.appId>
<profiles.wx.appSecret>fe4c83e34f89956960aa0f1f9e8f38b1</profiles.wx.appSecret>
</properties>
</profile>
<profile>
......
......@@ -85,9 +85,9 @@ public class DatumFillQrcodeController extends BaseCRUDJsonBodyMappingController
return ret.toJSONString();
}
@GetMapping("qrcode")
@GetMapping("image")
@UnAuth
public void qrcode(HttpServletRequest request, HttpServletResponse response) throws IOException {
public void qrcodeImage(HttpServletRequest request, HttpServletResponse response) throws IOException {
String datumIdstr = request.getParameter("datumId");
Long datumId = DataUtil.converStr2Long(datumIdstr,0L);
DatumFillQrcodeQuery query = new DatumFillQrcodeQuery();
......
......@@ -51,4 +51,7 @@ hystrix:
isolation:
thread:
timeoutInMilliseconds: 60000
wx:
appId: @profiles.wx.appId@
appSecret: @profiles.wx.appSecret@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment