微信小程序-雲開發雲調用API沒有權限(no permission)問題

今天在學習微信小程序雲開發中的在雲函數中使用雲調用api templateMessage.send 時,在開發環境中運行報錯:function has no permission to call this API 如下圖: 查找總結原因大概有兩點: 雲函數所在目錄缺少個權限聲明文件 config.json { "permissions": { "openapi": ["template
相關文章
相關標籤/搜索