mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
WIP - Order steps & remaining APIs
This commit is contained in:
+12
-10
@@ -7,6 +7,16 @@ return [
|
||||
|
||||
'url' => env('UNITY_API_URL', 'https://dev.unity.izyim.com/user-backsys/api/'),
|
||||
|
||||
'endpoint' => [
|
||||
'login' => env('UNITY_LOGIN_ENDPOINT','login'),
|
||||
'create_entity' => env('UNITY_CREATE_ENTITY_ENDPOINT','entity/store'),
|
||||
'get_contract_obligations' => env('UNITY_OB_LIST_ENDPOINT','contract-template-obligation/list'),
|
||||
'create_contract' => env('UNITY_OB_LIST_ENDPOINT','contract-template-obligation/list'),
|
||||
'update_obligation_status' => env('UNITY_OB_LIST_ENDPOINT','contract-template-obligation/list'),
|
||||
],
|
||||
|
||||
'default_auth' => env('UNITY_AUTH','login'),
|
||||
|
||||
'auth' => [
|
||||
|
||||
'api_key' => [
|
||||
@@ -16,7 +26,6 @@ return [
|
||||
'login' => [
|
||||
'username' => env('UNITY_LOGIN_USERNAME','one@izyim.com'),
|
||||
'password' => env('UNITY_LOGIN_PASSWORD','pass123'),
|
||||
'endpoint' => env('UNITY_LOGIN_ENDPOINT','login')
|
||||
],
|
||||
|
||||
],
|
||||
@@ -25,20 +34,13 @@ return [
|
||||
|
||||
'create_entity_endpoint' => env('UNITY_CREATE_ENTITY_ENDPOINT','entity/store'),
|
||||
|
||||
'default_auth' => env('UNITY_AUTH','login'),
|
||||
|
||||
'on_error_email' => env('UNITY_ON_ERROR_EMAIL','dev@shipping.com,dev@unity.com'),
|
||||
|
||||
'contract_template_id' => env('UNITY_CONTRACT_TEMPLATE_ID', 102),
|
||||
|
||||
'contract_template_cache' => env('UNITY_CONTRACT_TEMPLATE_CACHE','60'),
|
||||
'contract_template_hash_id' => env('UNITY_CONTRACT_TEMPLATE_HASH_ID', '5lpn70mA2VmgxoekgYrJ'),
|
||||
|
||||
'entities' => [
|
||||
'xxx_key' => Constant\OrderEntity::SUPPLIER,
|
||||
'zzz_key' => Constant\OrderEntity::WAREHOUSE_YIWU,
|
||||
'vvv_key' => Constant\OrderEntity::WAREHOUSE_GUANG_ZHOU,
|
||||
'wwww_key' => Constant\OrderEntity::SUPPLIER,
|
||||
],
|
||||
'contract_template_cache' => env('UNITY_CONTRACT_TEMPLATE_CACHE','60'),
|
||||
|
||||
'obligations' => [
|
||||
'PACKING' => Constant\OrderSteps::PACKING,
|
||||
|
||||
Reference in New Issue
Block a user