...
|
...
|
@@ -2,6 +2,8 @@ package com.yoho.ufo.order.controller; |
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
import com.yoho.ufo.order.service.impl.*;
|
|
|
import com.yohobuy.ufo.model.order.resp.ManualInputPermissionVo;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
...
|
...
|
@@ -14,10 +16,6 @@ import com.yoho.order.model.Area; |
|
|
import com.yoho.order.model.BuyerOrderReq;
|
|
|
import com.yoho.order.model.QiniuLiveRecord;
|
|
|
import com.yoho.ufo.exception.PlatformException;
|
|
|
import com.yoho.ufo.order.service.impl.AsynVideoLiveService;
|
|
|
import com.yoho.ufo.order.service.impl.PhoneUidCameraService;
|
|
|
import com.yoho.ufo.order.service.impl.PhoneUidDepotService;
|
|
|
import com.yoho.ufo.order.service.impl.UfoLiveService;
|
|
|
import com.yoho.ufo.service.model.ApiResponse;
|
|
|
import com.yohobuy.ufo.model.order.bo.PhoneUidCameraBo;
|
|
|
import com.yohobuy.ufo.model.order.bo.PhoneUidDepotBo;
|
...
|
...
|
@@ -44,6 +42,9 @@ public class UfoLiveController { |
|
|
@Autowired
|
|
|
private PhoneUidDepotService phoneUidDepotService;
|
|
|
|
|
|
@Autowired
|
|
|
private ManualInputPermissionService manualInputPermissionService;
|
|
|
|
|
|
@RequestMapping(value = "/generateMp4Vedio")
|
|
|
public ApiResponse generateMp4Vedio(BuyerOrderReq req) {
|
|
|
LOGGER.info("generateMp4Vedio in. req is {}", req);
|
...
|
...
|
@@ -223,4 +224,11 @@ public class UfoLiveController { |
|
|
}
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(reslut).message("查询成功").build();
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/permissionSelecetByPid")
|
|
|
public ApiResponse permissionSelecetByPid() {
|
|
|
LOGGER.info("permissionSelecetByPid in.");
|
|
|
ManualInputPermissionVo vo = manualInputPermissionService.selectPermissionByPid();
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(vo).message("查询成功").build();
|
|
|
}
|
|
|
} |
...
|
...
|
|