Commit Graph

16 Commits

Author SHA1 Message Date
Sinh 2094a7b249 merge branch viettel-ffm into develop 2024-06-20 09:27:12 +07:00
Sinh 1034d2e077 feat: refactor ViettelFFM partner API integration
- Add the `const.go` file defining `ENV` type and constants `EnvStaging` and `EnvProd`
- Update `go.mod` to use `go 1.20` instead of `go 1.17`
- Introduce `model.go` file for ViettelFFM partner API structs
- Implement client methods for creating outbound requests and updating logistics information
- Implement an authentication method for the client with `AuthRes` struct
- Define constants for base URLs and authentication paths in ViettelFFM client
- Implement helper methods for getting base URL and making HTTP requests via NATS
- Update `util/httputil/const.go` to include `HeaderKeyAuthorization` constant

Signed-off-by: Sinh <luuvansinh555@gmail.com>
2024-06-14 17:31:02 +07:00
Sinh 16ea108595 update nats 2023-10-27 15:41:40 +07:00
Sinh 51afbc9c0e Merge branch 'master' of https://git.selly.red/Selly-Modules/3pl into jtexpress 2023-10-23 15:43:02 +07:00
Sinh efd91a81dd update nats 2023-10-20 16:12:29 +07:00
Sinh 1f4c6890eb add kiotviet 2023-10-06 17:12:11 +07:00
Sinh b15d883542 add jt express 2023-09-13 17:42:06 +07:00
Sinh 4380f5339b Merge master into 'integrate-onpoint' 2022-10-13 16:45:04 +07:00
trunglt251292 ad143b3736 [Update] module version 2022-10-10 12:41:26 +07:00
trunglt251292 d21ec08233 [Update] Package name 2022-10-10 10:45:16 +07:00
Sinh 5f58965975 define onpoint client 2022-09-16 17:43:13 +07:00
Sinh a0f382fd9c update nats module 2022-08-29 09:28:32 +07:00
Sinh e7f2ec779c update 2022-08-28 14:16:27 +07:00
Sinh b1dcd30213 define tnc api 2022-08-18 17:58:22 +07:00
Sinh c8bf12c3e9 change module name 2022-08-15 17:29:58 +07:00
Sinh c0cdae1240 define global care api 2022-08-15 14:23:26 +07:00