增加paybybalance路由
This commit is contained in:
@@ -2,7 +2,6 @@ package dao
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"reflect"
|
||||
"strings"
|
||||
"time"
|
||||
@@ -61,14 +60,11 @@ func WrapAddIDCULEntity(item interface{}, lastOperator string) interface{} {
|
||||
}
|
||||
|
||||
func WrapAddIDCULDEntity(item interface{}, lastOperator string) interface{} {
|
||||
globals.SugarLogger.Debugf("sajhbgduqhguqho ho")
|
||||
if mapData, ok := item.(map[string]interface{}); ok {
|
||||
mapData[model.FieldDeletedAt] = utils.DefaultTimeValue
|
||||
globals.SugarLogger.Debugf("bdtrshgesghrdg")
|
||||
} else {
|
||||
value := refutil.CheckAndGetStructValue(item)
|
||||
value.FieldByName(model.FieldDeletedAt).Set(reflect.ValueOf(utils.DefaultTimeValue))
|
||||
globals.SugarLogger.Debugf("nhglmknhtkl;jmglk;ghm;lkghm")
|
||||
}
|
||||
return WrapAddIDCULEntity(item, lastOperator)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user