WeChat ?? ??? ???? ?? ?? ??:
??? ??? ?? ??? ??? ????.
1 1??: ???? ?? ?? ? ??? ?????
2 2??: ??? ?? ???? ?? access_token ??
3 3??: access_token ?? ??(??? ??)
4 4??: ??? ?? ????(snsapi_userinfo ??? ???)
1 ?? ????
WeChat ?? ??? ?? ??(?? ????)? ??? ???? ????(??? ??? ?? ?????? ??? ? ????? ?? ????? snsapi_base ? snsapi_userinfo? ???) ???? ?????. ?? ???? ???:
https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect
"??? ??? ? ????."?? ???? ???? ????? ?? ??????, ?? ????? ???? ?? ?? ??? ??? ?????.
?? ?? ??: ?? ??? ?? ??? ?? ??? WeChat? ?? ??? ??? ? ??? ????? ??? ?? ?? ?? ??? ?? ????? ??? ?? ??? ?????. ??? ???? ?? ???? ?? ???? ??????
? ?:
AppID - ?? ??? ?? ???
REDIRECT_URI - ?? URL
SCOPE - ?? snsapi_base(?? ???? ???? ?? ?? ???? ???? ???? openid? ?? ??) ?? snsapi_userinfo(?? ???? ???? openid? ?? ???, ??, ??? ??? ? ??)???. ??, ???? ????? ???? ???? ???? ???? ??? ?? ? ????.)
STATE - ???? a-zA-Z0-9? ???? ?? ??? ??? ? ????
2 ??? ???? ?? access_token ??? ?????
???? ??? ???? ???? ????_uri/?code =CODE&state=STATE? ?????.
??? ?? STATE ?????? ??? ?????.
?? ??:
<code class="hljs php">$code = I('get.code'); if (empty($code)) { //todo 非微信訪問 exit('</code>'); }else{ //授權(quán)后操作 }
???? ??? ?? ? ????. ?? access_token ??? ?????.
??? ??? ? ?? ??? ???? access_token? ?????:
https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret= SECRET&code=CODE&grant_type =authorization_code
appid - ?? ??? ?? ???
secret - key
code - ?? ??? ??
grant_type - ?? Authorization_code
?? ??:
<code class="hljs bash">$url = 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=' . C('wechat.AppID') . '&secret=' . C('wechat.AppSecret'); $str = file_get_contents($url); $str = json_decode($str, true); $access_token = $str['access_token'];</code>
???? access_token? ????
?? ??? ?? ???? ??? ? ? ????. ?? ?? TP ?????? ????
<code class="hljs php">$access_token = S('access_token'); if (empty($access_token)) { $url = 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=' . C('wechat.AppID') . '&secret=' . C('wechat.AppSecret'); $str = file_get_contents($url); $str = json_decode($str, true); $access_token = $str['access_token']; S('access_token', $access_token, 3600); }</code>
access_token, openid(???? ?? ???)? ?? ?????. WeChat ?? ????? ??? ?? ?????. ???? ?? ???, ???? ?? ??? ????? ?? ? ???? ?? ??? ????? ??? ? ??? OpenID? ???? ?? ??? ?????
openid? WeChat ???? ???? ?????. ???? ???? ????? ?? ?? openid? ?? ? ??????? ???? ??? ? ????. ? openid? ???? ???? ????. ? ??? ??? ???? ?? ?? ??? ??? ?????? user_id? ?? ?????.
3 ?? ? ?? ??? ??? ???? access_token? ?? ????.
4 ??? ?? ????(snsapi_userinfo ??? ???)
??????? ? WeChat ID ????? ????? ?? ???? ?????. ???? ? ?? ? ????? 4??? ?? ??? ??? ?? ?(??? ??? ?? ???? ?? ??? snsapi_userinfo?? ???? access_token ? openid pull ??? ??? ??? ? ??) ???? ?????. ??????? ? WeChat ???? ??????
(openid? ??)
?? ??
http: GET(https ????? ?????) https:/ /api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN
access_token - ??? ?? access_token
openid - ?? ??? ?? ???
?? ??:
<code class="hljs php">$access_token = S('access_token'); if (empty($access_token)) { $url = 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=' . C('wechat.AppID') . '&secret=' . C('wechat.AppSecret'); $str = file_get_contents($url); $str = json_decode($str, true); $access_token = $str['access_token']; S('access_token', $access_token, 3600); }</code>
?? WeChat ?? ??? ??? ??? ?? ?? ???? ?????.

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











?? ??????? ??? ???? ?? ??? ?? ?????? ?? ?? ?? ? ???. ?? ???? ?? ???? ??? ???? ?? ?? ?????? ?? ? ????. ...

H5. ?? ????? ?? ?? ???? ??? ????. ?? ???? : H5? ? ??? ?????? ?? ???? ? ?? ??? ? ?? ???????. ??? ?? : H5? ??? ???? ?? ??? ???? ????. ?? ????? ??? ? ???? ?????. ?? ???? ???? ??? ????. ??? : H5? ??? ??? ????? ??? ? ?? ???? ?? ?????. ?? ?? : H5? ?? ??? ?? ?? ?? ???? ? ?? ?? ????. ?? ??? ???? : H5? ?? ??? ???? ???? ??? ?? ????? ???? ?? ??? ??? ?????.

H5 ?? ?? ?? ?? : VSCODE, WebStorm, Atom, ???, ??? ???; ?? ???? ?? ?? : WeChat ??? ??, Alipay Mini ???? ??? ??, Baidu Smart Mini ???? IDE, Toutiao Mini ???? ??? ??, Taro.

H5 ? ???? ??? ?? ??? ?? ????. ??? ???, ?? ?? ? ?? ?? ???? ?? ????? H5? ??????. ?? ??, ??? ?? ? ??? ???? ?? ?? ????? ?? ???? ??????.

H5 ? Mini ????? ?? ???? ??? ????. ??? ??? : H5? ????? ???? ?? ????? ?? ??? (? : WeChat)? ?????. ??? ?? : H5 ??? ?? ??? MINI ????? ?? ?? ????? ??? ??? ??? ?????. ?????? ?? : H5? ??? ?? ??? ?? ????? ???? ?? ????? ?????. H5 ???? ?? : ?? ??, ??? ???, QR ??, SEO, ?? ??. ?? ???? ???? ?? : ??? ????, ?? ??, ???? ????, ASO, ?? ????? ??.

??? cryptocurrency ?? ? ?? ???? ??? ????. 1. OKX : ????? ?? 1 ?, ?? ??? ???? AI ?? ?? ? ?? ??? ????? ?????. 2. BINANCE : ?? ??? ????, ??? ? ?? ??? ??? ?? ?? ??? ?????. 3. ?? ?? ?? : ?? ???? ? OTC ??? ??? ?? ?? ??? ?????. 4. COINMARKETCAP : 20,000 ?? ??? ???? ???? ?? ??? ???. 5. Coingecko : ???? ?? ???? ??? ?? Defi ? NFT ?? ????? ?????. 6. ?? ?? : ?? ?? ???, A- ??? ?? ?? ?? ?? ??? ?????. 7. ?? ?? : ?? ?? ??? ????? ?? ?? ???? ????????. 8. ?? ?? : 24 ??

Douyin ? ??? ??? ??? https://www.douyin.com/???. ??? ???? ??? ?????. 1. ???? ??; 2. URL https://www.douyin.com/? ??????. 3. "???"??? ???? ??? ??? ??????. 4. ?? ????? ??????. 5. ?? ???. ? ??? ????, ??, ?? ??, ??? ??? ? ?? ???? ??? ?? ??? ???? ?? ??? ??, ?? ???, ??? ?? ?? ? ??? ??? ?? ??? ????.

cryptocurrency ??? 10 ?? ?? ???? ?? : ?? ???, ?? ??? ??, ?? ??, ?? ?? ??, ?? ??? ?? ? ?? ?? : ?? ???? ??, ?? ?? ?? ? ??? ?? ?? ???????. ?? ??? ? ?????? (Binance/Coinbase) ???? ??? ?????? ?? ?? ?/?? ??? ?????? ?? ?? : ?? ??? ?? ??, ??? ????, ????????, ????????. ?? ?? : ??/?? ??? ?????!
