瀏覽代碼

feat:修改方法

wangchuanjin 1 年之前
父節點
當前提交
333d9068ee
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rpc/internal/logic/empowerlogic.go

+ 1 - 1
rpc/internal/logic/empowerlogic.go

@@ -28,7 +28,7 @@ func NewEmpowerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *EmpowerLo
 // 授权
 func (l *EmpowerLogic) Empower(in *pb.EmpowerReq) (*pb.Resp, error) {
 	resp := &pb.Resp{}
-	status, err := CancelEmpower(in.Appid, in.FunctionCode, in.EntId, in.EntUserId)
+	status, err := Empower(in.Appid, in.FunctionCode, in.EntId, in.EntUserId)
 	if err != nil {
 		l.Error(fmt.Sprintf("%+v", in), err)
 	}