| | |
| | | package com.xiaopeng.operation.controller; |
| | | |
| | | import com.xiaopeng.api.model.operation.SysOperLog; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.common.core.web.controller.BaseController; |
| | | import com.xiaopeng.common.core.web.domain.AjaxResult; |
| | | import com.xiaopeng.operation.service.XpSystemSettingService; |
| | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | // @GetMapping("/support/getOrderDistance") |
| | | // @ApiOperation(value = "获取下单距离",tags = {"小程序首页-服务调用获取下单距离"},response = Integer.class) |
| | | // public AjaxResult<Integer> getOrderDistance() { |
| | | // return success(xpSystemSettingService.getOrderDistance()); |
| | | // } |
| | | |
| | | |
| | | @GetMapping("/support/getOrderDistance") |
| | | @ApiOperation(value = "获取下单距离",tags = {"小程序首页-服务调用获取下单距离"},response = Integer.class) |
| | | public R getOrderDistance() { |
| | | return R.ok(xpSystemSettingService.getOrderDistance()); |
| | | } |
| | | |
| | | |
| | | } |