public AlibabaOpenplatformTradeModelTradeInfo GetTradeInfor(string appKey, string memberId, long orderId) { var token = accessTokenRepository.Single( t => t.App_Key == appKey && t.MemberId == memberId && t.IsActive == true && t.IsDeleted == false); SyncAPIClient client = new SyncAPIClient(token.App_Key, token.App_Secret); // SyncAPIClient client = new SyncAPIClient("3259943", "t6MpyARzzv"); AlibabaTradeGetSellerViewParam param = new AlibabaTradeGetSellerViewParam(); RequestPolicy oauthPolicy = new RequestPolicy(); oauthPolicy.UseHttps = true; param.setOrderId(orderId); AlibabaTradeGetSellerViewResult response = client.execute <AlibabaTradeGetSellerViewResult>(param, token.Access_Token); return(response.getResult()); }