TestController.java 2.84 KB
Newer Older
xucl committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
package com.fadu.jeefw.controller;

import com.fadu.app.service.LsdOrderProgressMessage;
import com.fadu.app.service.SimpleSystemMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author wangchun
 * @since 2018/12/14 11:58
 */
@Controller
@RequestMapping("/test")
public class TestController {

    @Autowired
    private LsdOrderProgressMessage lsdOrderProgressMessage;

    @Autowired
    private SimpleSystemMessage simpleSystemMessage;

    @RequestMapping(value = "/pass", method = {RequestMethod.POST, RequestMethod.GET})
    public void pass(HttpServletRequest request, HttpServletResponse response) throws Exception {
        String lawyerId = request.getParameter("lawyerId");
        String orderId = request.getParameter("orderId");
       // lsdOrderProgressMessage.pass(lawyerId, orderId);
    }

    @RequestMapping(value = "/notPass", method = {RequestMethod.POST, RequestMethod.GET})
    public void notPass(HttpServletRequest request, HttpServletResponse response) throws Exception {
        String lawyerId = request.getParameter("lawyerId");
        String orderId = request.getParameter("orderId");
       // lsdOrderProgressMessage.notPass(lawyerId, orderId);
    }

    @RequestMapping(value = "/loan", method = {RequestMethod.POST, RequestMethod.GET})
    public void loan(HttpServletRequest request, HttpServletResponse response) throws Exception {
        String lawyerId = request.getParameter("lawyerId");
        String orderId = request.getParameter("orderId");
        //lsdOrderProgressMessage.loan(lawyerId, orderId);
    }

    @RequestMapping(value = "/uploadLoanCertificate", method = {RequestMethod.POST, RequestMethod.GET})
    public void uploadLoanCertificate(HttpServletRequest request, HttpServletResponse response) throws Exception {
        String lawyerId = request.getParameter("lawyerId");
        String orderId = request.getParameter("orderId");
        //lsdOrderProgressMessage.uploadLoanCertificate(lawyerId, orderId);
    }

    @RequestMapping(value = "/invitePrizes", method = {RequestMethod.POST, RequestMethod.GET})
    public void invitePrizes(HttpServletRequest request, HttpServletResponse response) throws Exception {
        String lawyerId = request.getParameter("lawyerId");
        //simpleSystemMessage.invitePrizes(lawyerId);
    }


    @RequestMapping(value = "/ssdbHome", method = {RequestMethod.POST, RequestMethod.GET})
    public void ssdbHome(HttpServletRequest request, HttpServletResponse response) throws Exception {
        String lawyerId = request.getParameter("lawyerId");
       // simpleSystemMessage.ssdbHome(lawyerId);
    }
}