|
@@ -41,7 +41,9 @@ import java.io.InputStream;
|
|
|
import java.security.KeyStore;
|
|
|
import java.text.ParseException;
|
|
|
import java.text.SimpleDateFormat;
|
|
|
+import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
* 课程Controller
|
|
@@ -90,4 +92,12 @@ public class CommonController extends BaseController {
|
|
|
return AjaxResult.success(Printer.num);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("小程序配置")
|
|
|
+ @GetMapping("/config")
|
|
|
+ public AjaxResult<Map<String,Object>> config(CourseQueryBo bo) throws InterruptedException, ParseException {
|
|
|
+ Map<String,Object> map = new HashMap<>();
|
|
|
+ map.put("hide",false);
|
|
|
+ return AjaxResult.success(map);
|
|
|
+ }
|
|
|
+
|
|
|
}
|