This commit is contained in:
Wangxxz
2024-11-16 10:21:12 +08:00
parent e0d731e296
commit 3f59552c2e
2 changed files with 5 additions and 1 deletions

View File

@@ -316,6 +316,7 @@ public class ThirdApi {
}
public void updateOrSaveCourse(CourseParam param, String token){
log.info("---------------准备同步在线课到讲师管理完毕 ------- param " + param);
String resp = Optional.ofNullable(
HttpRequest.post(updateOrSaveCourse).body(JSONUtil.toJsonStr(param)).header("token", token).execute()
.body()).orElseThrow(() -> new RuntimeException("token校验失败"));