|
@@ -132,17 +132,7 @@ public class CommonController extends BaseController {
|
|
|
public AjaxResult<WxInfoBo> getWxInfo(WxInfoQuery query) {
|
|
|
return AjaxResult.success(wxLoginService.getWxInfo(query));
|
|
|
}
|
|
|
-
|
|
|
- @ApiOperation("获取微信参数")
|
|
|
- @GetMapping("app/common/wx/config")
|
|
|
- public AjaxResult<Map<String, Object>> wxConfig() {
|
|
|
- Map<String, Object> map = new HashMap<>();
|
|
|
- String smallAppId = configService.selectConfigByKey("wx.small.appid");
|
|
|
- String gzhAppId = configService.selectConfigByKey("wx.gzh.appid");
|
|
|
- map.put("smallAppId", smallAppId);
|
|
|
- map.put("gzhAppId", gzhAppId);
|
|
|
- return AjaxResult.success(map);
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 获取小程序首页链接
|