This commit is contained in:
richboo111
2023-05-09 11:44:53 +08:00
parent f8323fb1c1
commit 563cfb5fba
4 changed files with 52 additions and 3 deletions

View File

@@ -359,3 +359,19 @@ func (c *CmsController) GetVendorOrgCodeInfo() {
return retVal, "", err
})
}
// @Title 得到商家与用户之间步行距离
// @Description 得到商家与用户之间步行距离
// @Param token header string true "认证token"
// @Param sLng query int true "商家经度"
// @Param sLat query int true "商家纬度"
// @Param uLng query int true "用户经度"
// @Param uLat query int true "用户纬度"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetSToUWalkingDistance [get]
func (c *CmsController) GetSToUWalkingDistance() {
c.callGetSToUWalkingDistance(func(params *tCmsGetSToUWalkingDistanceParams) (interface{}, string, error) {
return nil, "", nil
})
}