Commit 4a62586c by hcy001

bom4

parent 8b39a7fd
Showing with 2 additions and 1 deletions
...@@ -12,6 +12,7 @@ import ( ...@@ -12,6 +12,7 @@ import (
"regexp" "regexp"
"strconv" "strconv"
"strings" "strings"
"time"
) )
/* /*
...@@ -35,7 +36,7 @@ func PrintDebug(str ...interface{}) { ...@@ -35,7 +36,7 @@ func PrintDebug(str ...interface{}) {
if flag == 0 { if flag == 0 {
return return
} }
temp := "---"+strconv.FormatInt(php2go.Time(),10); temp := "---"+time.Now().Format("2006-01-02 15:04:05");
for _,jsonStr := range str { for _,jsonStr := range str {
if v, p := jsonStr.(string); p { if v, p := jsonStr.(string); p {
temp = temp +"---"+ v temp = temp +"---"+ v
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment