|
|
@@ -739,7 +739,8 @@ func GetImageConfigs(userId int64, imageType int) ([]Szdz2imageconfig, error) {
|
|
|
func GetServerTime() (*string, error) {
|
|
|
engine := db.GetEngine()
|
|
|
|
|
|
- rst, err := engine.QueryString("select sysdate from dual")
|
|
|
+ // rst, err := engine.QueryString("select sysdate from dual")
|
|
|
+ rst, err := engine.QueryString("select to_char(sysdate, 'yyyy-MM-dd hh24:mi:ss') \"SYSDATE\" from dual")
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|