|
@@ -13,7 +13,7 @@ type SysRoleReportHandler struct{}
|
|
|
|
|
|
|
|
// Swagger:RoleReport 获取列表数据
|
|
// Swagger:RoleReport 获取列表数据
|
|
|
func (c *SysRoleReportHandler) GetList(ctx context.Context, req *sys_report.SysRoleReportListReq, rsp *comm_def.CommonMsg) error {
|
|
func (c *SysRoleReportHandler) GetList(ctx context.Context, req *sys_report.SysRoleReportListReq, rsp *comm_def.CommonMsg) error {
|
|
|
- g.Log().Infof("SysReportHandler.List request %#v ", *req)
|
|
|
|
|
|
|
+ g.Log().Infof("SysReportHandler.List request %#v ", &req)
|
|
|
s, err := service.NewSysRoleReportService(ctx)
|
|
s, err := service.NewSysRoleReportService(ctx)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return err
|
|
return err
|
|
@@ -28,7 +28,7 @@ func (c *SysRoleReportHandler) GetList(ctx context.Context, req *sys_report.SysR
|
|
|
|
|
|
|
|
// Swagger:RoleReport 添加数据
|
|
// Swagger:RoleReport 添加数据
|
|
|
func (c *SysRoleReportHandler) Add(ctx context.Context, req *sys_report.SysRoleReportListAdd, rsp *comm_def.CommonMsg) error {
|
|
func (c *SysRoleReportHandler) Add(ctx context.Context, req *sys_report.SysRoleReportListAdd, rsp *comm_def.CommonMsg) error {
|
|
|
- g.Log().Infof("SysReportHandler.Add request %#v ", req)
|
|
|
|
|
|
|
+ g.Log().Infof("SysReportHandler.Add request %#v ", &req)
|
|
|
s, err := service.NewSysRoleReportService(ctx)
|
|
s, err := service.NewSysRoleReportService(ctx)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return err
|
|
return err
|
|
@@ -42,7 +42,7 @@ func (c *SysRoleReportHandler) Add(ctx context.Context, req *sys_report.SysRoleR
|
|
|
|
|
|
|
|
// Swagger:RoleReport 更新数据
|
|
// Swagger:RoleReport 更新数据
|
|
|
func (c *SysRoleReportHandler) Update(ctx context.Context, req *sys_report.SysRoleReport, rsp *comm_def.CommonMsg) error {
|
|
func (c *SysRoleReportHandler) Update(ctx context.Context, req *sys_report.SysRoleReport, rsp *comm_def.CommonMsg) error {
|
|
|
- g.Log().Infof("SysReportHandler.Update request %#v ", *req)
|
|
|
|
|
|
|
+ g.Log().Infof("SysReportHandler.Update request %#v ", &req)
|
|
|
s, err := service.NewSysRoleReportService(ctx)
|
|
s, err := service.NewSysRoleReportService(ctx)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return err
|
|
return err
|
|
@@ -54,7 +54,7 @@ func (c *SysRoleReportHandler) Update(ctx context.Context, req *sys_report.SysRo
|
|
|
|
|
|
|
|
// Swagger:RoleReport 删除数据
|
|
// Swagger:RoleReport 删除数据
|
|
|
func (c *SysRoleReportHandler) Delete(ctx context.Context, req *sys_report.IdsReq, rsp *comm_def.CommonMsg) error {
|
|
func (c *SysRoleReportHandler) Delete(ctx context.Context, req *sys_report.IdsReq, rsp *comm_def.CommonMsg) error {
|
|
|
- g.Log().Infof("SysReportHandler.Delete request %#v ", *req)
|
|
|
|
|
|
|
+ g.Log().Infof("SysReportHandler.Delete request %#v ", &req)
|
|
|
s, err := service.NewSysRoleReportService(ctx)
|
|
s, err := service.NewSysRoleReportService(ctx)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return err
|
|
return err
|
|
@@ -68,7 +68,7 @@ func (c *SysRoleReportHandler) Delete(ctx context.Context, req *sys_report.IdsRe
|
|
|
|
|
|
|
|
// Swagger:RoleReport 数据详情
|
|
// Swagger:RoleReport 数据详情
|
|
|
func (c *SysRoleReportHandler) Get(ctx context.Context, req *model.IdRequiredReq, rsp *comm_def.CommonMsg) error {
|
|
func (c *SysRoleReportHandler) Get(ctx context.Context, req *model.IdRequiredReq, rsp *comm_def.CommonMsg) error {
|
|
|
- g.Log().Infof("SysReportHandler.Get request %#v ", *req)
|
|
|
|
|
|
|
+ g.Log().Infof("SysReportHandler.Get request %#v ", &req)
|
|
|
s, err := service.NewSysRoleReportService(ctx)
|
|
s, err := service.NewSysRoleReportService(ctx)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return err
|
|
return err
|
|
@@ -83,7 +83,7 @@ func (c *SysRoleReportHandler) Get(ctx context.Context, req *model.IdRequiredReq
|
|
|
|
|
|
|
|
// Swagger:RoleReport 获取列表数据
|
|
// Swagger:RoleReport 获取列表数据
|
|
|
func (c *SysRoleReportHandler) RoleList(ctx context.Context, req *sys_report.SysRoleReportListReq, rsp *comm_def.CommonMsg) error {
|
|
func (c *SysRoleReportHandler) RoleList(ctx context.Context, req *sys_report.SysRoleReportListReq, rsp *comm_def.CommonMsg) error {
|
|
|
- g.Log().Infof("SysReportHandler.RoleList request %#v ", *req)
|
|
|
|
|
|
|
+ g.Log().Infof("SysReportHandler.RoleList request %#v ", &req)
|
|
|
s, err := service.NewSysRoleReportService(ctx)
|
|
s, err := service.NewSysRoleReportService(ctx)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return err
|
|
return err
|