shiyj
2019-08-14 781f9ee65180116f90e2d4484b7451e457bbaae2
添加首页控制类
1 文件已重命名
3个文件已修改
16 ■■■■ 已修改文件
JobService/src/main/java/com/java110/job/Api/PrvncFtpToFileSystemConfigAction.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
JobService/src/main/java/com/java110/job/controller/JobController.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
JobService/src/main/resources/application-dev.yml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
JobService/src/main/resources/view/prvncFtpToFileSystemConfigList.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
JobService/src/main/java/com/java110/job/Api/PrvncFtpToFileSystemConfigAction.java
@@ -13,10 +13,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.text.DateFormat;
JobService/src/main/java/com/java110/job/controller/JobController.java
@@ -25,7 +25,7 @@
    /**
     * 首页处理方法
     *
     * @param JobCode 流程编码
     * @param JobCode 编码
     * @param request  请求对象
     * @return 页面名称
     */
@@ -40,9 +40,9 @@
        } catch (Throwable e) {
            flowCode = "error";
        }*/
        System.out.println(JobCode);
        return JobCode;
        return "prvncFtpToFileSystemConfigList";
    }
JobService/src/main/resources/application-dev.yml
@@ -60,6 +60,10 @@
    driverClassName: com.mysql.jdbc.Driver
    maxActive: 20
    username: TT
  mvc:
    view:
      prefix: classpath:/view/
      suffix: .html
#============== kafka ===================
kafka:
JobService/src/main/resources/view/prvncFtpToFileSystemConfigList.html
File was renamed from JobService/src/main/resources/static/jsp/prvncFtpToFileSystemConfigList.html
@@ -1,4 +1,3 @@
<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>