forked from gxwebsoft/mp-10550
优化下单流程
This commit is contained in:
@@ -118,7 +118,7 @@ export interface WxPayResult {
|
||||
*/
|
||||
export async function createOrder(data: OrderCreateRequest) {
|
||||
const res = await request.post<ApiResult<WxPayResult>>(
|
||||
'http://127.0.0.1:9200/api/shop/shop-order',
|
||||
'/shop/shop-order',
|
||||
data
|
||||
);
|
||||
if (res.code === 0) {
|
||||
|
||||
Reference in New Issue
Block a user