Skip to content
New issue

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

各作業增修改查相關訊息輸出 #36

Open
smlsunxie opened this issue Sep 2, 2013 · 0 comments
Open

各作業增修改查相關訊息輸出 #36

smlsunxie opened this issue Sep 2, 2013 · 0 comments

Comments

@smlsunxie
Copy link
Member

只要有跟後端進行 request 的回應訊息,一律從後端往後傳,這樣的好處在於若有多個不同介面,能夠避免撰寫重覆的訊息,在維護多語系會更方便,且不需要自己撰寫錯誤的判斷。

可參考 ItemRouteController.groovy 裡的 save 函式,來輸出訊息到前端,無論成功或失敗都需要輸出。

使用說明影片:grails message 的使用,後端多國語系的支援

pipibabe pushed a commit that referenced this issue Sep 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant