#9 修改接口地址 ’api‘ 平台有限制

Merged
tangzp merged 1 commits from dev into master 8 months ago
  1. +1
    -1
      mztb/src/main/java/cc/smtweb/biz/mztb/web/MztbStartedListener.java
  2. +1
    -1
      mztb/src/main/java/cc/smtweb/biz/mztb/web/controller/MztbController.java

+ 1
- 1
mztb/src/main/java/cc/smtweb/biz/mztb/web/MztbStartedListener.java View File

@@ -26,7 +26,7 @@ public class MztbStartedListener implements IStartListener {
SwConsts.SysParam.RUN_PROJECTS = "bpm,mztb"; SwConsts.SysParam.RUN_PROJECTS = "bpm,mztb";
SwConsts.SysParam.SYS_DEBUG = false; SwConsts.SysParam.SYS_DEBUG = false;
SwConsts.SysParam.ENABLE_TRANSPORT_ENCRYPT =false; SwConsts.SysParam.ENABLE_TRANSPORT_ENCRYPT =false;
SessionUtil.addNoLoginUri("/api/*");
SessionUtil.addNoLoginUri("/api_c/*");


} }




+ 1
- 1
mztb/src/main/java/cc/smtweb/biz/mztb/web/controller/MztbController.java View File

@@ -36,7 +36,7 @@ import java.util.stream.Collectors;
*/ */
@Slf4j @Slf4j
@Controller @Controller
@RequestMapping("/api")
@RequestMapping("/api_c")
public class MztbController { public class MztbController {


private static final String PWD_SALT = "goodpj"; private static final String PWD_SALT = "goodpj";


Loading…
Cancel
Save