+RefreshPageShops
This commit is contained in:
@@ -136,3 +136,16 @@ func (l PageShopList) Less(i, j int) bool {
|
||||
func (l PageShopList) Swap(i, j int) {
|
||||
l[i], l[j] = l[j], l[i]
|
||||
}
|
||||
|
||||
// @Title 刷新网页门店信息
|
||||
// @Description 刷新网页门店信息
|
||||
// @Param token header string true "认证token"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /RefreshPageShops [post]
|
||||
func (c *NetSpiderController) RefreshPageShops() {
|
||||
c.callRefreshPageShops(func(params *tNetspiderRefreshPageShopsParams) (retVal interface{}, errCode string, err error) {
|
||||
err = netspider.RefreshPageShops(params.Ctx)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user