Bladeren bron

管乐迷域名修改

zouxuan 1 jaar geleden
bovenliggende
commit
2d9211af1c

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

@@ -514,10 +514,10 @@ public class StudentOrderController extends BaseController {
         return succeed();
     }
 
-    @RequestMapping("/paymentResult")
+    @RequestMapping("${app-config.url.student:}/paymentResult")
     public void paymentResult(HttpServletResponse response, String orderNo, String type) {
         try {
-            String baseApiUrl = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
+            String baseApiUrl = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL_MDAYA);
             if (type != null && type.equals("edu")) {
                 baseApiUrl = sysConfigDao.findConfigValue(SysConfigService.EDU_TEACHER_BASE_URL_MANAGER);
             }