onpoint-stock-update #166

Merged
sinhluu merged 5 commits from onpoint-stock-update into master 2024-05-08 07:18:03 +00:00
1 changed files with 12 additions and 10 deletions
Showing only changes of commit c6284f3200 - Show all commits

View File

@ -8,15 +8,17 @@ func getProductValue(val string) string {
} }
var Product = struct { var Product = struct {
ApplyRequest string ApplyRequest string
CreateRequestStep string CreateRequestStep string
ProcessApplyRequest string ProcessApplyRequest string
RequestChangeStatus string RequestChangeStatus string
WebhookStockUpdate string WebhookStockUpdate string // WebhookStockUpdate Kiotviet queue
OPWebhookStockUpdate string // OPWebhookStockUpdate Onpoint queue
}{ }{
ApplyRequest: getProductValue("apply_request"), ApplyRequest: getProductValue("apply_request"),
CreateRequestStep: getProductValue("create_request_step"), CreateRequestStep: getProductValue("create_request_step"),
ProcessApplyRequest: getProductValue("process_apply_request"), ProcessApplyRequest: getProductValue("process_apply_request"),
RequestChangeStatus: getProductValue("request_change_status"), RequestChangeStatus: getProductValue("request_change_status"),
WebhookStockUpdate: getProductValue("webhook_stock_update"), WebhookStockUpdate: getProductValue("webhook_stock_update"),
OPWebhookStockUpdate: getProductValue("op_webhook_stock_update"),
} }