我有一个使用Google数据存储的项目PHP数据库并部署在Google App Engine上,我的项目运行良好,但是当我访问Google数据存储上的数据库时,它显示错误:function game(x, y) {
var inputC = computerPlay();
var inputH = humanPlay();
var isComputerWin =
(inputC == 'scissors' && inputH == 'paper') ||
(inputC == 'rock' && inputH == 'scissors') ||
(inputC == 'paper' && inputH == 'rock');
var winner = isComputerWin ? 'computer' : 'human';
var winnerWith = isComputerWin ? inputC : inputH;
console.log(winner + " wins with " + winnerWith);
document.getElementById("text1").innerHTML = winner;
console.log("result is: " + winner + " wins");
}
在我的本地计算机上出现此错误,我只需运行命令{
"error": {
"code": 403,
"message": "Missing or insufficient permissions.",
"status": "PERMISSION_DENIED"
}
}
。
我不知道如何在Google App Engine中修复它。感谢您的帮助。非常感谢。