liufumingren 1f40838320 fix: 修复 WMS API 请求格式(query string + timestamp 类型)
- base_url 改为 qimen.wms.gztbyc.com
- query 参数拼入 URL query string(method/timestamp/app_key/sign)
- timestamp 改为整数类型(Unix 秒)
- 移除多余 X-* 自定义 Header
2026-08-06 23:38:27 +08:00

24 lines
585 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* WMS 开放接口配置
*
* 使用 config('wms.xxx') 读取,如 config('wms.app_key')
*/
return [
// WMS 仓库接口基础地址(不含 /warehouse)
'base_url' => 'https://qimen.wms.gztbyc.com',
// 应用 Key(由 WMS 平台分配,联系仓库管理员获取)
'app_key' => 'AK2026080314055697eb6c36',
// 应用 Secret(由 WMS 平台分配)
'app_secret'=> '5514e6bd12fcf6622606b5eb70981b3a1dcf2d2718aca1100f9a9fc6e60b35e1',
// API 版本
'version' => '1.0',
// 请求超时(秒)
'timeout' => 10,
];