Explorar o código

Merge branch 'online1'

Joburgess %!s(int64=4) %!d(string=hai) anos
pai
achega
091f5e62f5

+ 3 - 3
mec-student/src/main/java/com/ym/mec/student/controller/StudentOrderController.java

@@ -339,9 +339,9 @@ public class StudentOrderController extends BaseController {
     //    @Scheduled(cron = "0/30 * * * * ?")
     @GetMapping("/setSuccessStatus")
     public HttpResponseResult setSuccessStatus(String orderNo) throws Exception {
-//        if (!profiles.equals("dev")) {
-//            return failed("非法操作");
-//        }
+        if (!profiles.equals("dev")&&!profiles.equals("test")) {
+            return failed("非法操作");
+        }
         List<StudentPaymentOrder> payingOrders = studentPaymentOrderService.findOrdersByStatus(DealStatusEnum.ING, "ADAPAY");
 
         String[] statusArr = {"0", "1", "7"};