TestController.java 607 Bytes
package org.var.c1;

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.ResponseBody;
import org.var.c.TestC;

import com.dituhui.saas.framework.log.BaseLog;

@Controller
public class TestController {

    @Autowired
    private TestC tc;
    
    @RequestMapping("test")     
    @ResponseBody
    public BaseLog test() {
        BaseLog bl = new BaseLog(tc.test(), tc.test());
        return bl;
    }
    
}