文檔:https://developers.weixin.qq.com/community/business/doc/0008eae0f4c82843cb88ab7de5600d
根據文檔中的來操作:
<button open-type="getRealnameAuthInfo" bindgetrealnameauthinfo="authinfo" category-id="{{[231, 235]}}}">實名授權</button>
js:
authinfo: function (e) {
console.log("1111")
console.log(e)
}
最後打印出:
在真機測試上 是這個 :openRealnameAuth:fail:access denied ,
請問大家我這個是什麼情況呢?還有什麼操作沒做嗎?