update cart
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-30 03:54:12 +07:00
parent 323f50fb43
commit 073a7e6d8c
10 changed files with 207 additions and 163 deletions
+14 -6
View File
@@ -16,14 +16,14 @@
"application/json"
],
"paths": {
"/card": {
"/cart": {
"post": {
"operationId": "CRM_GetCard",
"operationId": "CRM_GetCart",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/crmCardRsp"
"$ref": "#/definitions/crmCartRsp"
}
},
"default": {
@@ -292,7 +292,7 @@
}
}
},
"crmCardItem": {
"crmCartItem": {
"type": "object",
"properties": {
"id": {
@@ -349,15 +349,23 @@
}
}
},
"crmCardRsp": {
"crmCartRsp": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/crmCardItem"
"$ref": "#/definitions/crmCartItem"
}
},
"amount": {
"type": "string",
"format": "int64"
},
"amountOld": {
"type": "string",
"format": "int64"
}
}
},