1
我在Play Scala項目的application.conf
中有secret key
。如何在Play Scala應用程序中使用密鑰
# See http://www.playframework.com/documentation/latest/ApplicationSecret for more details.
application.secret="........"
如何在我的控制器或服務中使用它?我試過application.secret
,它給我錯誤value secret is not a member of controllers.Application
。與play.crypto.secret
它給 object crypto is not a member of package play
謝謝。我得到了'secretKey' –
@PareshNagore接受如果你喜歡它 – pamu