From 2331979b657fa574eb5e3b8b9d4cd08888e7fbd0 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Tue, 26 Sep 2023 11:04:12 +0800 Subject: [PATCH] info address --- model/gmodel/fs_address_logic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/gmodel/fs_address_logic.go b/model/gmodel/fs_address_logic.go index 936843dc..c633e89d 100755 --- a/model/gmodel/fs_address_logic.go +++ b/model/gmodel/fs_address_logic.go @@ -88,7 +88,7 @@ func (a *FsAddressModel) SettingUserDefaultAddress(ctx context.Context, userId i now := time.Now().UTC() err = tx.Model(&FsAddress{}).Where(" `user_id` = ? and `status` = ? and `address_id` = ? ", userId, 1, addressId). - UpdateColumn("ltime", now.Add(time.Hour*24*365*100)). + UpdateColumn("ltime", now.Add(time.Hour*24*365*50)). UpdateColumn("utime", now).Error if err != nil { return err