/// <summary> /// /// </summary> /// <param name="userid"></param> /// <param name="info"></param> /// <returns></returns> public async Task <dynamic> ChangeIntroduction(long userid, DTOAPI_ChangeIntroduction info) { if (!AccountValidator.bValidIntroduction(info.introduction)) { throw new Exception("简介不符合规则"); } await this.publishEndpoint.Publish(new ChangeAccountIntroductionCommand { id = userid, introduction = info.introduction }); return(""); }