作业发布是提示改为发布成功
This commit is contained in:
parent
862dbb5198
commit
b14b0ed49b
|
@ -133,6 +133,20 @@ public class ZyInfoController extends JeecgController<ZyInfo, IZyInfoService> {
|
|||
return Result.OK("编辑成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param zyInfo
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "作业发布-发布")
|
||||
@ApiOperation(value="作业发布-发布", notes="作业发布-发布")
|
||||
@RequestMapping(value = "/release", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||
public Result<String> release(@RequestBody ZyInfo zyInfo) {
|
||||
zyInfoService.updateById(zyInfo);
|
||||
return Result.OK("发布成功!");
|
||||
}
|
||||
|
||||
@ApiOperation(value="作业发布-通过id查询", notes="作业发布-通过id查询")
|
||||
@GetMapping(value = "/editStudent")
|
||||
public Result<ZyInfo> editStudent(@RequestParam(name="id",required=true) String id) {
|
||||
|
|
Loading…
Reference in New Issue