|
@@ -14,6 +14,7 @@ import io.swagger.annotations.ApiImplicitParams;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -24,6 +25,12 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
@RestController
|
|
|
public class StudentPaymentOrderController extends BaseController {
|
|
|
|
|
|
+ @Value("${payment.hiddenMode}")
|
|
|
+ private Boolean hiddenMode;
|
|
|
+
|
|
|
+ @Value("${payment.channel}")
|
|
|
+ private String channel;
|
|
|
+
|
|
|
@Autowired
|
|
|
private StudentPaymentOrderService studentPaymentOrderService;
|
|
|
@Autowired
|
|
@@ -47,6 +54,9 @@ public class StudentPaymentOrderController extends BaseController {
|
|
|
queryInfo.setOrganId(employee.getOrganIdList());
|
|
|
}
|
|
|
}
|
|
|
+ if(hiddenMode){
|
|
|
+ queryInfo.setPaymentChannel(channel);
|
|
|
+ }
|
|
|
return succeed(studentPaymentOrderService.queryPage(queryInfo));
|
|
|
}
|
|
|
|