orderiom-api-package 0.3.48 → 0.3.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +16 -0
- package/package.json +1 -1
- package/src/modules/order.js +1 -1
package/index.d.ts
CHANGED
|
@@ -30,4 +30,20 @@ export interface AuthState<SignedIn extends boolean> {
|
|
|
30
30
|
email: string | null
|
|
31
31
|
fullAddress: Record<string, any>
|
|
32
32
|
userAddress: Record<string, any>[]
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface ManagerState {
|
|
36
|
+
[key: string]: any
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface ProductState {
|
|
40
|
+
[key: string]: any
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface OrderState {
|
|
44
|
+
[key: string]: any
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface RestaurantState {
|
|
48
|
+
[key: string]: any
|
|
33
49
|
}
|
package/package.json
CHANGED
package/src/modules/order.js
CHANGED
|
@@ -601,7 +601,7 @@ const actions = {
|
|
|
601
601
|
updatePaymentStatus({ dispatch, commit }, data) {
|
|
602
602
|
return $http
|
|
603
603
|
.get(`api/payment/update`, {
|
|
604
|
-
params: { paymentId: data.paymentId, status: data.status },
|
|
604
|
+
params: { paymentId: data.paymentId, status: data.status , orderId:data.orderId },
|
|
605
605
|
})
|
|
606
606
|
.then((res) => {
|
|
607
607
|
const status = res.data.data.status;
|