| | |
| | |
|
| | | return OpResult.success();
|
| | | }
|
| | | /*
|
| | | //@RequestMapping(value = "/remove", method = RequestMethod.POST)
|
| | | public OpResult<Void> remove(@RequestHeader(value = "mdc-token", defaultValue = "") String token,
|
| | | Integer id) {
|
| | | |
| | | try {
|
| | | editService.remove(id);
|
| | | }catch(Exception ex) {
|
| | | return OpResult.fail(ex.getMessage());
|
| | | }
|
| | |
|
| | | return OpResult.success();
|
| | | }
|
| | | */
|
| | | |
| | | |
| | | @RequestMapping(value = "/concern", method = RequestMethod.POST)
|
| | | public OpResult<Void> switchConcern(@RequestHeader(value = "mdc-token", defaultValue = "") String token,
|
| | | Integer id,int concern) {
|