龍巖易富通網(wǎng)絡(luò)科技有限公司

龍巖小程序開發(fā),龍巖分銷系統(tǒng)

常用開發(fā)者文檔

2016.03.15 | 11546閱讀 | 0條評論 | 工作筆記

微信開發(fā)者文檔:

微信支付普通商戶開發(fā)者文檔:https://pay.weixin.qq.com/wiki/doc/api/index.html

微信支付服務(wù)商開發(fā)者文檔:https://pay.weixin.qq.com/wiki/doc/api/sl.html

微信公眾號開發(fā)者文檔:http://mp.weixin.qq.com/wiki/home/index.html

微信全局返回碼:https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1433747234

微信公眾號沙箱平臺:http://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=sandbox/login

微信開放平臺文檔:https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1419318292&lang=zh_CN

微信開發(fā)者接口調(diào)試工具:https://mp.weixin.qq.com/debug


微信小程序開發(fā)文檔:https://mp.weixin.qq.com/debug/wxadoc/dev/


微信支付小微商戶:https://pay.weixin.qq.com/wiki/doc/api/xiaowei.php?chapter=1_1

微信支付分賬接口:https://pay.weixin.qq.com/wiki/doc/api/allocation_sl.php?chapter=1_1

微信支付客服服務(wù):http://kf.qq.com/product/wechatpaymentmerchant.html

微信支付參數(shù)規(guī)定:https://pay.weixin.qq.com/wiki/doc/api/native_sl.php?chapter=1_1


騰訊云ssl證書:https://cloud.tencent.com/document/product/400/4143


WEUI微信樣式庫:

http://www.mrblobbymuseum.com/weui

https://weui.io/


微信支付素材下載:

https://pay.weixin.qq.com/material/brand.shtml




獲取access token

access_token是公眾號的全局唯一票據(jù),公眾號調(diào)用各接口時都需使用access_token。開發(fā)者需要進(jìn)行妥善保存。access_token的存儲至少要保留512個字符空間。access_token的有效期目前為2個小時,需定時刷新,重復(fù)獲取將導(dǎo)致上次獲取的access_token失效。

獲取access_token填寫client_credential



關(guān)于網(wǎng)頁授權(quán)access_token和普通access_token的區(qū)別

1、微信網(wǎng)頁授權(quán)是通過OAuth2.0機制實現(xiàn)的,在用戶授權(quán)給公眾號后,公眾號可以獲取到一個網(wǎng)頁授權(quán)特有的接口調(diào)用憑證(網(wǎng)頁授權(quán)access_token),通過網(wǎng)頁授權(quán)access_token可以進(jìn)行授權(quán)后接口調(diào)用,如獲取用戶基本信息;

2、其他微信接口,需要通過基礎(chǔ)支持中的“獲取access_token”接口來獲取到的普通access_token調(diào)用。


網(wǎng)頁授權(quán)步驟:

1、引導(dǎo)用戶進(jìn)入授權(quán)頁面同意授權(quán),獲取code

2、通過code換取網(wǎng)頁授權(quán)access_token(與基礎(chǔ)支持中的access_token不同)和用戶唯一標(biāo)識openid

3、如果需要,開發(fā)者可以刷新網(wǎng)頁授權(quán)access_token,避免過期

4、通過網(wǎng)頁授權(quán)access_token和openid獲取用戶基本信息(支持UnionID機制)

獲取access_token填寫為authorization_code



獲取api_ticket

api_ticket 是用于調(diào)用微信卡券JS API的臨時票據(jù),有效期為7200 秒,通過access_token 來獲取。


支付寶開發(fā)者文檔:

支付寶開放平臺:https://doc.open.alipay.com/doc2/alipayDocIndex.htm

支付寶公共錯誤碼:https://docs.open.alipay.com/common/

淘寶開放平臺:https://open.taobao.com/


美團點評開發(fā)者文檔:

美團點評外賣開放平臺:https://developer.meituan.com/openapi


餓了么開發(fā)者文檔:

餓了么外賣開放平臺:https://open.shop.ele.me/openapi



ECSHOP在線手冊:

適用版本v2.7.3:http://book.ecmoban.com/


Thinkphp開發(fā)手冊:

3.2.3完全開發(fā)手冊:https://www.kancloud.cn/manual/thinkphp/1678


寶塔

寶塔命令:https://www.bt.cn/btcode.html


常用學(xué)習(xí)教程:

w3school:http://www.w3school.com.cn/tags/html_ref_urlencode.html

node.js:http://www.runoob.com/nodejs/nodejs-tutorial.html

贊 (

發(fā)表評論