|
@@ -59,6 +59,7 @@ func AddUnionCode() {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
for _, v := range list {
|
|
for _, v := range list {
|
|
|
|
+ fmt.Println(v.Id,v.Mobile)
|
|
unionCode := utils.MD5(v.Mobile + v.Body + v.SmsDate)
|
|
unionCode := utils.MD5(v.Mobile + v.Body + v.SmsDate)
|
|
err = models.ModifySmsRecordUnicode(unionCode, v.Id)
|
|
err = models.ModifySmsRecordUnicode(unionCode, v.Id)
|
|
if err != nil {
|
|
if err != nil {
|
|
@@ -67,3 +68,9 @@ func AddUnionCode() {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+//func init() {
|
|
|
|
+// fmt.Println("start 111")
|
|
|
|
+// AddUnionCode()
|
|
|
|
+// fmt.Println("end 111")
|
|
|
|
+//}
|