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