| | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | // return update ? R.ok("修改成功!") : R.fail("修改失败!"); |
| | | // } |
| | | |
| | | /** |
| | | * 师傅端-打电话 |
| | | */ |
| | | @ApiOperation(value = "打电话", tags = {"师傅端-打电话[2.0]"}) |
| | | @GetMapping(value = "/workerCall") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(value = "订单id", name = "orderId", dataType = "String", required = true), |
| | | }) |
| | | public R<String> workerCall(@RequestParam String orderId) { |
| | | orderClient.call(orderId); |
| | | return R.ok(); |
| | | } |
| | | |
| | | } |