import com.ssh.entity.UserTEntity; import com.ssh.service.IUserService; import com.ssh.service.UserServiceImpl; 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.annotation.Resource; import java.math.BigDecimal; /** * Created by Administrator on 2018/6/9 0009. */ @Controller @RequestMapping("/test") public class SSHCotrollerTest { @Autowired private IUserService userService; @RequestMapping(value = "/test",method = RequestMethod.GET) public String test(){ return "test"; } }
junit 单元测试web随手记
最新推荐文章于 2022-07-23 16:29:36 发布