Ver Fonte

管乐迷域名修改

zouxuan há 1 ano atrás
pai
commit
fc3a122893

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

@@ -517,9 +517,9 @@ public class StudentOrderController extends BaseController {
     @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);
+                baseApiUrl = sysConfigDao.findConfigValue(SysConfigService.EDU_TEACHER_BASE_URL_MANAGER);
             }
             response.sendRedirect(baseApiUrl + "/#/paymentresult?orderNo=" + orderNo);
         } catch (IOException e) {