午夜在线观看视频-午夜黄色影院-锕锕锕锕锕锕锕锕-成人在线不卡-91精品福利视频-亚洲欧美校园春色-91播放在线-精品三级av-亚洲人成免费电影-黄视频免费在线看-韩国日本美国免费毛片-在线黄色av电影-成人激情直播-国产 欧美 日韩 视频-男人午夜在线观看

提貨卡設計免費、提貨卡打樣免費、瑞信提貨系統終身免費
打開瑞信提貨客服菜單

最新資訊

提貨系統首頁 > 提貨系統資訊 > 在線提貨系統對接京東宙斯系統技術分析
在線提貨系統對接京東宙斯系統技術分析
編輯 :

瑞信提貨系統

時間 : 2020-02-20 11:52 瀏覽量 : 128

瑞信在線提貨系統對接京東宙斯系統的路線圖

1:去京東宙斯系統,注冊申請開發者賬戶。

2:給宙斯系統的對應負責人,發送賬戶權限開通申請。

3:提交公司相關的營業執照和需要補充的相關資料。

微信圖片_20200220115301

4:等待權限的開通,開通后即可獲得access_token,app_key,app_secret。

5:宙斯系統的接口,會提供相應的測試工具,可以先行模擬測試數據。

6:下面就是編寫提貨系統的代碼,去對接宙斯系統。

對接時注意事項:

1:如果有理解不了,一定要給相應的部門發送郵件詢問,一般都會很快答復。2:測試通過后,申請賬號的正式權限。3:瑞信在線提貨系統,對接代碼如下。public static jd_faka Jd_Fk(ref string ex_result,string app_key, string app_secret, string merchantId, string merchantName, string channelType, string couponType,string couponNumber, string trackingName, string trackingNumber, string sendTime, string sendSerialNumber, string sign, string orderId, string receiverName, string receiverMobile)

{

try

{string uri = string.Format(“https://api.xxx.com/routerjson?v=2.0&method=jingdong.virtual.crabCoupon.getcoupon&app_key={0}&360buy_param_json={{”merchantId”:”{1}”,”merchantName”:”{2}”,”orderId”:”{3}”,”channelType”:”{4}”,”couponType”:”{5}”,”couponNumber”:”{6}”,”trackingName”:”{7}”,”trackingNumber”:”{8}”,”sendTime”:”{9}”,”receiverName”:”{10}”,”receiverMobile”:”{11}”,”sendSerialNumber”:”{12}”}}&timestamp={13}&sign={14}”,app_key,merchantId,merchantName,orderId,channelType,couponType,couponNumber,trackingName,trackingNumber,DateTime.Now.ToString(),receiverName,receiverMobile,sendSerialNumber,DateTime.Now.ToString(),sign);

HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri);

HttpWebResponse response = (HttpWebResponse)request.GetResponse();

Stream streamReceive = response.GetResponseStream();

Encoding encoding = Encoding.UTF8;

StreamReader streamReader = new StreamReader(streamReceive, encoding);

string strResult = streamReader.ReadToEnd();

streamReceive.Dispose();

streamReader.Dispose();

using (MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(strResult)))

{

DataContractJsonSerializer serializer1 = new DataContractJsonSerializer(typeof(jd_faka));

jd_faka p1 = (jd_faka)serializer1.ReadObject(ms);

return p1;

}

}

catch (Exception ex)

{

ex_result = ex.Message;}

return null;

}


cache
Processed in 0.010388 Second.