Ejemplo n.º 1
0
        /// <summary>
        /// 降权
        /// </summary>
        /// <param name="request"></param>
        public ExectueResult SetDemotion(SetAssociateOperateRequest request)
        {
            const UserOperatorRight operateRight = UserOperatorRight.GiftCard | UserOperatorRight.SystemProduct;

            request.OperateRight = operateRight;

            _repository.SetOperate(request);

            return(new OkExectueResult());
        }