postman測試接口產生json格式的接口報錯調試

1.postman報錯   2.解決方法: 打開backend\runtime\logs\app.log文件,找到剛纔執行的log在最後一行 web\controller.php中166行有問題 (web\controller.php中將 $enableCsrfValidation設爲了true) 解決方法:在TmisDeptController中,將controller修改爲繼承rest下的co
相關文章
相關標籤/搜索