Exemplo n.º 1
0
        public async Task <IActionResult> GetTherapistDetailInfo(string therapistGuid)
        {
            if (string.IsNullOrEmpty(therapistGuid))
            {
                return(Failed(ErrorCode.Empty, "参数不正确"));
            }

            var therapistBiz = new TherapistBiz();

            var therapist = await therapistBiz.GetTherapistDetailInfoAsync(UserID, therapistGuid);

            return(Success(therapist));
        }