0
我想將def date= new Date()
轉換爲字符串,以便我可以使此表達式def text=data+" "+"http://hjghjghj.ge(Service) /https:jsonparces getting data from taxservice:Successfully received response
然後使用文本作爲字符串我嘗試過toString()但它沒有幫助任何更好的想法?在Groovy中將日期轉換爲字符串
究竟是什麼錯?如果有的話,請提供正確的代碼和錯誤/問題。 – daggett
不能將Date()轉換爲字符串 –