We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
只要有跟後端進行 request 的回應訊息,一律從後端往後傳,這樣的好處在於若有多個不同介面,能夠避免撰寫重覆的訊息,在維護多語系會更方便,且不需要自己撰寫錯誤的判斷。
可參考 ItemRouteController.groovy 裡的 save 函式,來輸出訊息到前端,無論成功或失敗都需要輸出。
ItemRouteController.groovy
使用說明影片:grails message 的使用,後端多國語系的支援
The text was updated successfully, but these errors were encountered:
#36 batch save message
a7a601e
No branches or pull requests
只要有跟後端進行 request 的回應訊息,一律從後端往後傳,這樣的好處在於若有多個不同介面,能夠避免撰寫重覆的訊息,在維護多語系會更方便,且不需要自己撰寫錯誤的判斷。
可參考
ItemRouteController.groovy
裡的 save 函式,來輸出訊息到前端,無論成功或失敗都需要輸出。使用說明影片:grails message 的使用,後端多國語系的支援
The text was updated successfully, but these errors were encountered: