1
This commit is contained in:
@@ -10,6 +10,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/astaxie/beego/client/orm"
|
||||
|
||||
"git.rosy.net.cn/jx-callback/business/model/dao"
|
||||
|
||||
"git.rosy.net.cn/jx-callback/business/partner"
|
||||
@@ -666,8 +668,8 @@ func GetDefaultTemplate(appID, vendorStoreID string, vendorID int) (string, erro
|
||||
phoneNum = " "
|
||||
t string
|
||||
)
|
||||
store, err := dao.GetStoreDetail2(dao.GetDB(), 0, vendorStoreID, vendorID)
|
||||
if err != nil {
|
||||
store, err := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), vendorStoreID, vendorID, "")
|
||||
if err != nil && err != orm.ErrNoRows {
|
||||
return "", err
|
||||
}
|
||||
if len(store.Tel1) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user