getvendorstore 测试
This commit is contained in:
@@ -642,6 +642,7 @@ func getMapCenter(storeList []*StoreExt) (lng, lat float64) {
|
||||
|
||||
func GetVendorStore(ctx *jxcontext.Context, vendorID int, vendorOrgCode, vendorStoreID string) (retVal *StoreExt, err error) {
|
||||
if handler := CurVendorSync.GetStoreHandler(vendorID); handler != nil {
|
||||
fmt.Println("test1", handler)
|
||||
result, err2 := handler.ReadStore(ctx, vendorOrgCode, vendorStoreID)
|
||||
if err = err2; err == nil {
|
||||
retVal = &StoreExt{
|
||||
|
||||
Reference in New Issue
Block a user