| | |
| | | import com.xinquan.common.core.utils.page.CollUtils; |
| | | import com.xinquan.common.core.utils.page.PageDTO; |
| | | import com.xinquan.common.core.web.page.PageInfo; |
| | | import com.xinquan.common.log.annotation.Log; |
| | | import com.xinquan.common.log.enums.BusinessType; |
| | | import com.xinquan.common.security.service.TokenService; |
| | | import com.xinquan.course.api.domain.Course; |
| | | import com.xinquan.course.api.feign.RemoteCourseService; |
| | |
| | | } |
| | | @GetMapping("/cancel") |
| | | @ApiOperation(value = "取消订单", tags = "管理后台-订单列表管理") |
| | | @Log(title = "【订单列表管理】取消订单", businessType = BusinessType.UPDATE) |
| | | |
| | | public R updateState(String uid) { |
| | | Order byId = orderService.getById(uid); |
| | | byId.setPaymentStatus(3); |
| | |
| | | private TokenService tokenService; |
| | | @GetMapping("/ChangeMoney") |
| | | @ApiOperation(value = "改价", tags = "管理后台-订单列表管理") |
| | | @Log(title = "【订单列表管理】改价", businessType = BusinessType.UPDATE) |
| | | public R ChangeMoney(String uid,String amount) { |
| | | Order byId = orderService.getById(uid); |
| | | byId.setChangePrice(new BigDecimal(amount)); |