| | |
| | | |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/base/v1/mini-program") |
| | | @RequestMapping("") |
| | | @Api(tags = "系统设置模块") |
| | | public class XpSystemSettingController extends BaseController { |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | @GetMapping("/support/phone") |
| | | @GetMapping("/base/v1/mini-program/support/phone") |
| | | @ApiOperation(value = "获取客服电话",tags = {"小程序首页"},response = String.class) |
| | | public AjaxResult<CustomerServicePhoneVo> getBannerList() { |
| | | Object customerServicePhone = redisService.getCacheObject(CacheConstants.CUSTOMER_SERVICE_PHONE); |
| | |
| | | // } |
| | | |
| | | |
| | | @GetMapping("/support/getOrderDistance") |
| | | @GetMapping("/base/v1/mini-program/support/getOrderDistance") |
| | | @ApiOperation(value = "获取下单距离",tags = {"小程序首页-服务调用获取下单距离"},response = Integer.class) |
| | | public R getOrderDistance() { |
| | | return R.ok(xpSystemSettingService.getOrderDistance()); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取自动结束行程时间",tags = {"小程序-业务流程"},response = Integer.class) |
| | | @GetMapping("/api/v1/mini-program/support/getOrderFinishTime") |
| | | public R<Integer> getOrderFinishTime() { |
| | | return R.ok(xpSystemSettingService.getOrderFinishTime()); |
| | | } |
| | | |
| | | } |