mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-22 20:02:42 +08:00
修复后台内置三个课程封面的的url地址生成bug
This commit is contained in:
parent
82ac97dbc5
commit
5d797b286c
@ -60,6 +60,10 @@ public class SystemController {
|
||||
String apiUrl = configData.get(CConfig.SYSTEM_API_URL);
|
||||
if (apiUrl == null || apiUrl.trim().length() == 0) {
|
||||
apiUrl = RequestUtil.uriWithProtocol();
|
||||
} else {
|
||||
if (apiUrl.endsWith("/")) {
|
||||
apiUrl = apiUrl.substring(0, apiUrl.length() - 1);
|
||||
}
|
||||
}
|
||||
|
||||
HashMap<String, Object> data = new HashMap<>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user