feat: order finish
This commit is contained in:
@@ -35,6 +35,9 @@ class OrderController extends AbstractController
|
||||
return (new OrderListService())->handle();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
#[RequestMapping(path: "info", methods: "GET")]
|
||||
#[Scene(scene: "info")]
|
||||
public function info(): array
|
||||
@@ -42,7 +45,10 @@ class OrderController extends AbstractController
|
||||
return (new OrderInfoService())->handle();
|
||||
}
|
||||
|
||||
#[RequestMapping(path: "finish", methods: "GET")]
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
#[RequestMapping(path: "finish", methods: "POST")]
|
||||
#[Scene(scene: "finish")]
|
||||
public function finish(): array
|
||||
{
|
||||
@@ -73,11 +79,15 @@ class OrderController extends AbstractController
|
||||
return (new RefundService)->refundPartial();
|
||||
}
|
||||
|
||||
#[RequestMapping(path: "refund_batch", methods: "GET")]
|
||||
/**
|
||||
* @return array
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
#[RequestMapping(path: "refund_batch", methods: "POST")]
|
||||
#[Scene(scene: "refund_batch")]
|
||||
public function batchRefund()
|
||||
{
|
||||
// todo
|
||||
return (new RefundService)->refundBatch();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user