package com.changhong.epc.form.rest.test; import com.changhong.epc.bean.parsing.BillInfo; import com.changhong.epc.constter.form.tenant.contract.FormContractUrlConst; import com.changhong.epc.form.service.test.TestService; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; @RestController public class TestRest implements FormContractUrlConst{ @Resource(name="TestServiceImpl") private TestService testService; /** * 测试用接口,所有Test包下的都是测试用类 * @return */ @PostMapping("/getOrderCode") public BillInfo selectOrderCode(){ return testService.selectOrderCode(); } // @PostMapping("/search/base/elementprivate/false") // public Object search(@RequestBody Map map){ // return testService.seach(map); // } }