|
@@ -10,6 +10,7 @@ import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.fdkankan.fusion.common.ResultCode;
|
|
|
+import com.fdkankan.fusion.common.ResultData;
|
|
|
import com.fdkankan.fusion.entity.CaseEntity;
|
|
|
import com.fdkankan.fusion.entity.CaseLive;
|
|
|
import com.fdkankan.fusion.entity.CaseNumEntity;
|
|
@@ -70,9 +71,9 @@ public class CaseLiveServiceImpl extends ServiceImpl<ICaseLiveMapper, CaseLive>
|
|
|
}
|
|
|
Boolean flag = this.getCheckCreateRoom(caseLive.getNumList(),numList);
|
|
|
if(!flag){
|
|
|
- FdkkResponse<FdRoomAddParam> fdkkResponse = fdService.fdCreateTakeLookRoom(caseEntity.getCaseTitle(),numList,caseLive.getTakeRoomId());
|
|
|
+ ResultData<FdRoomAddParam> fdkkResponse = fdService.fdCreateTakeLookRoom(caseEntity.getCaseTitle(),numList,caseLive.getTakeRoomId());
|
|
|
if(fdkkResponse.getCode() != 0){
|
|
|
- throw new BusinessException(fdkkResponse.getCode(),fdkkResponse.getMsg());
|
|
|
+ throw new BusinessException(fdkkResponse.getCode(),fdkkResponse.getMessage());
|
|
|
}
|
|
|
caseLive.setTakeRoomId(fdkkResponse.getData().getRoomId());
|
|
|
List<String> numList1 = fdkkResponse.getData().getNumList();
|