- fk
This commit is contained in:
@@ -49,17 +49,30 @@ type ShopInfo struct {
|
|||||||
Status int `json:"status,omitempty"` // 查询用
|
Status int `json:"status,omitempty"` // 查询用
|
||||||
}
|
}
|
||||||
|
|
||||||
type AddShopFailInfo struct {
|
type AddShopFailedInfo struct {
|
||||||
Code int `json:"code"`
|
Code int `json:"code"`
|
||||||
ShopNo string `json:"shopNo"`
|
ShopNo string `json:"shopNo"`
|
||||||
Msg string `json:"msg"`
|
Msg string `json:"msg"`
|
||||||
ShopName string `json:"shopName"`
|
ShopName string `json:"shopName"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type AddShopSuccessInfo struct {
|
||||||
|
AreaName string `json:"areaName"`
|
||||||
|
Business int `json:"business"`
|
||||||
|
CityName string `json:"cityName"`
|
||||||
|
ContactName string `json:"contactName"`
|
||||||
|
Lat float64 `json:"lat"`
|
||||||
|
Lng float64 `json:"lng"`
|
||||||
|
OriginShopID string `json:"originShopId"`
|
||||||
|
Phone string `json:"phone"`
|
||||||
|
StationAddress string `json:"stationAddress"`
|
||||||
|
StationName string `json:"stationName"`
|
||||||
|
}
|
||||||
|
|
||||||
type AddShopResult struct {
|
type AddShopResult struct {
|
||||||
Success int `json:"success"`
|
Success int `json:"success"`
|
||||||
SuccessList []*ShopInfo `json:"successList"`
|
SuccessList []*AddShopSuccessInfo `json:"successList"`
|
||||||
FailedList []*AddShopFailInfo `json:"failedList"`
|
FailedList []*AddShopFailedInfo `json:"failedList"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *API) ShopDetail(originShopID string) (shopDetail *ShopInfo, err error) {
|
func (a *API) ShopDetail(originShopID string) (shopDetail *ShopInfo, err error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user