切换导航条
此项目
正在载入...
登录
李涵
/
integral
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
lihan
6 years ago
提交
2389c5a37f63c2536e90d014d063f12d44346bdc
1 个父辈
4322a4d0
1 个管道 的构建
通过
耗费 0 秒
物流跟踪&确认收货
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
5 行增加
和
8 行删除
app/user/controller/CenterController.php
simplewind/extend/KdApiSubscribeDemo.php
app/user/controller/CenterController.php
查看文件 @
2389c5a
...
...
@@ -283,12 +283,9 @@ class CenterController extends HomeBaseController
"ShipperCode"
=>
$info
[
'code'
],
"LogisticCode"
=>
$info
[
'kd_num'
]
];
test
();
exit
();
$logisticResult
=
orderTracesSubByJson
();
$logisticResult
=
orderTracesSubByJson
(
json_encode
(
$requestData
));
echo
$logisticResult
;
//物流接口请求
$url
=
'http://sandboxapi.kdniao.cc:8080/kdniaosandbox/gateway/exterfaceInvoke.json'
;
return
$this
->
fetch
();
//return $this->fetch();
}
}
...
...
simplewind/extend/KdApiSubscribeDemo.php
查看文件 @
2389c5a
...
...
@@ -12,11 +12,11 @@
*/
//电商ID
defined
(
'EBusinessID'
)
or
define
(
'EBusinessID'
,
'
请到快递鸟官网申请http://kdniao.com/reg
'
);
defined
(
'EBusinessID'
)
or
define
(
'EBusinessID'
,
'
test1385929
'
);
//电商加密私钥,快递鸟提供,注意保管,不要泄漏
defined
(
'AppKey'
)
or
define
(
'AppKey'
,
'
请到快递鸟官网申请http://kdniao.com/reg
'
);
defined
(
'AppKey'
)
or
define
(
'AppKey'
,
'
e67cc4ac-0f03-4efa-a9fd-5cb03811a9ab
'
);
//测试请求url
defined
(
'ReqURL'
)
or
define
(
'ReqURL'
,
'http://
testapi.kdniao.cc:8081/api/dist
'
);
defined
(
'ReqURL'
)
or
define
(
'ReqURL'
,
'http://
sandboxapi.kdniao.cc:8080/kdniaosandbox/gateway/exterfaceInvoke.json
'
);
//正式请求url
//defined('ReqURL') or define('ReqURL', 'http://api.kdniao.cc/api/dist');
...
...
请
注册
或
登录
后发表评论