/// <summary> /// 为<see cref="ApiClient"/>设置Token /// </summary> /// <param name="result">Token对象</param> private void SetToken(DataResult <AccessToken> result) { if (result.IsSuccess()) { _client.Token = result.Entity.Token; } }