|
|
@@ -259,6 +259,9 @@ public class IpadSendServer {
|
|
|
private void sendMiniProgram(BaseVo vo, QwSopCourseFinishTempSetting.Setting content, Map<String, FsCoursePlaySourceConfig> miniMap, Long companyId) {
|
|
|
log.info("小程序发送,cropId:{}", vo.getCorpCode());
|
|
|
QwCompany qwCompany = qwCompanyMapper.selectQwCompanyByCorpId(vo.getCorpCode());
|
|
|
+ if (qwCompany == null) {
|
|
|
+ throw new BaseException("未找到公司:{}", vo.getCorpCode());
|
|
|
+ }
|
|
|
String appid = qwCompany.getMiniAppId();
|
|
|
// if(companyId != null && content.getMiniType() != null){
|
|
|
// List<CompanyMiniapp> list = companyMiniappService.list(new QueryWrapper<CompanyMiniapp>().eq("company_id", companyId).eq("type", content.getMiniType()));
|