|
@@ -200,6 +200,17 @@ public class CommonController extends BaseController {
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
+ @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);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 查询课程列表
|
|
|
*/
|