|
@@ -255,6 +255,7 @@ func AddEdbTask(cont context.Context) (err error) {
|
|
|
|
|
|
failList := make([]string, 0)
|
|
|
|
|
|
+ wxUser, _ := models.GetWxUserByMobile("17634786714")
|
|
|
|
|
|
for _, edb := range list {
|
|
|
tmpEdb := edb
|
|
@@ -390,9 +391,9 @@ func AddEdbTask(cont context.Context) (err error) {
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- if utils.RunMode == "debug" {
|
|
|
+ if utils.RunMode == "debug" && wxUser != nil {
|
|
|
|
|
|
- tmpEdb.UserId = 51655
|
|
|
+ tmpEdb.UserId = int(wxUser.UserId)
|
|
|
|
|
|
}
|
|
|
|