oilcode
This commit is contained in:
@@ -329,6 +329,7 @@ func (c *JobController) CheckJdDeliveryWeight() {
|
||||
// @Param cityCode query int false "城市ID"
|
||||
// @Param lat query float64 false "用户坐标"
|
||||
// @Param lng query float64 false "用户坐标"
|
||||
// @Param oilCode query string false "油号"
|
||||
// @Param sortType query int false "排序, 1为距离,2为评分"
|
||||
// @Param offset query int false "门店列表起始序号(以0开始,缺省为0)"
|
||||
// @Param pageSize query int false "门店列表页大小(缺省为50,-1表示全部)"
|
||||
@@ -337,7 +338,7 @@ func (c *JobController) CheckJdDeliveryWeight() {
|
||||
// @router /GetStationList [get]
|
||||
func (c *JobController) GetStationList() {
|
||||
c.callGetStationList(func(params *tJobGetStationListParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = cms.GetStationList(params.Ctx, params.StationName, params.CityCode, params.Lat, params.Lng, params.SortType, params.Offset, params.PageSize)
|
||||
retVal, err = cms.GetStationList(params.Ctx, params.StationName, params.CityCode, params.Lat, params.Lng, params.OilCode, params.SortType, params.Offset, params.PageSize)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user