3pl/partnerapi
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
..
globalcare Merge branch 'fix-gc-car' into integrate-onpoint 2022-10-24 18:02:42 +07:00
jtexpress feat(jnt): update create order response 2024-04-15 10:50:04 +07:00
kiotviet change json tag 2023-10-20 16:15:14 +07:00
onpoint feat(onpoint): get inventories (#17) 2024-05-08 07:26:17 +00:00
tnc change code best 2024-02-05 10:39:55 +07:00
viettelffm feat: refactor ViettelFFM partner API integration 2024-06-14 17:31:02 +07:00