Commit 61bf205c449522b96f05d236b1c1bcb6668d8319

Authored by 刘基城
1 parent bcea8727

添加sp id

src/main/java/com/cnlive/mz/live/action/Init.java deleted 100644 → 0
1   -package com.cnlive.mz.live.action;
2   -
3   -import java.io.IOException;
4   -
5   -import javax.servlet.ServletConfig;
6   -import javax.servlet.ServletException;
7   -import javax.servlet.http.HttpServlet;
8   -import javax.servlet.http.HttpServletRequest;
9   -import javax.servlet.http.HttpServletResponse;
10   -
11   -import org.smart4j.plugin.job.JobHelper;
12   -
13   -import com.cnlive.mz.live.service.impl.Job;
14   -
15   -public class Init extends HttpServlet {
16   -
17   - @Override
18   - public void init(ServletConfig config) throws ServletException {
19   - // 初始化
20   - JobHelper.startJob(Job.class, "0/30 * * * * ?");
21   - }
22   -
23   - @Override
24   - protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
25   - super.doGet(req, resp);
26   - }
27   -
28   - @Override
29   - protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
30   - super.doPost(req, resp);
31   - }
32   -}