|
@@ -7,7 +7,6 @@ import com.fs.common.core.domain.R;
|
|
|
import com.fs.course.param.FsCourseProductOrderListParam;
|
|
|
import com.fs.course.vo.FsCourseProductOrderVO;
|
|
|
import com.fs.his.param.FsCourseProductOrderRefundParam;
|
|
|
-import com.fs.his.param.FsInquiryOrderRefundParam;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -30,6 +29,8 @@ import com.fs.course.service.IFsCourseProductOrderService;
|
|
|
import com.fs.common.utils.poi.ExcelUtil;
|
|
|
import com.fs.common.core.page.TableDataInfo;
|
|
|
|
|
|
+import static com.fs.his.utils.PhoneUtil.decryptPhone;
|
|
|
+
|
|
|
/**
|
|
|
* 拍单商品订单Controller
|
|
|
*
|
|
@@ -121,4 +122,18 @@ public class FsCourseProductOrderController extends BaseController
|
|
|
logger.info("退款拍商品订单:"+param.getCourseOrderId()+":操作人:总后台:"+ getLoginUser().getUsername());
|
|
|
return fsCourseProductOrderService.refund(param);
|
|
|
}
|
|
|
+
|
|
|
+ @GetMapping(value = "/queryPhone/{courseOrderId}")
|
|
|
+ @Log(title = "查看电话", businessType = BusinessType.GRANT)
|
|
|
+ @PreAuthorize("@ss.hasPermi('course:fsCourseProductOrder:queryPhone')")
|
|
|
+ public R getPhone(@PathVariable("courseOrderId") Long courseOrderId)
|
|
|
+ {
|
|
|
+ FsCourseProductOrder courseProductOrder = fsCourseProductOrderService.selectFsCourseProductOrderByCourseOrderId(courseOrderId);
|
|
|
+ String userPhone = courseProductOrder.getUserPhone();
|
|
|
+
|
|
|
+ if (userPhone!=null&&userPhone.length()>11){
|
|
|
+ userPhone=decryptPhone(userPhone);
|
|
|
+ }
|
|
|
+ return R.ok().put("userPhone",userPhone);
|
|
|
+ }
|
|
|
}
|