|
|
|
@@ -63,7 +63,13 @@ public class WxMerchantController extends BaseController |
|
|
|
public ResultData findById(Long id) { |
|
|
|
return new ResultData(Result.SUCCESS,"查询成功",wxMerchantService.getById(id)); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("停用") |
|
|
|
@GetMapping("disable") |
|
|
|
@ApiImplicitParam(name="id",value="id",dataType="Long", paramType = "query",required=true) |
|
|
|
public ResultData disable(Long id) { |
|
|
|
wxMerchantService.disable(id); |
|
|
|
return new ResultData(Result.SUCCESS,"停用成功"); |
|
|
|
} |
|
|
|
|
|
|
|
} |