This commit is contained in:
richboo111
2024-01-29 17:35:46 +08:00
parent 4d0bb31662
commit c0530fc8e9

View File

@@ -743,7 +743,7 @@ func GetDefaultTemplate(appID, vendorStoreID string, vendorID int) (string, erro
if err != nil && err != orm.ErrNoRows {
return "", err
}
if err == orm.ErrNoRows || (len(store.Tel1) == 0 && len(store.Tel2) == 0) {
if err == orm.ErrNoRows || store.Tel1 == "" {
t = BasePhoneNum
}
if len(store.Tel1) > 0 {