|
|
@@ -187,5 +187,18 @@ public class AdminJtBusinessController extends CertifyApiController{
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
+ /*
|
|
|
+ * 删除项目
|
|
|
+ * */
|
|
|
+ @RequestMapping(value="/project/delete",method=RequestMethod.GET)
|
|
|
+ private Result deleteProjecById(String id) {
|
|
|
+ Result result=new Result();
|
|
|
+ if(id == null) {
|
|
|
+ result.getError().add(buildError(ErrorConstants.PARAM_ERROR,"","id不能为空,"));
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ result.setData(jtBusinessService.deleteProjectById(id));
|
|
|
+ return result;
|
|
|
+ }
|
|
|
|
|
|
}
|