切换导航条
此项目
正在载入...
登录
李忠强
/
temporaryfood
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
何书鹏
3 years ago
提交
8673f428c5690b97e3792d564db16cfaf3170d79
1 个父辈
259e7113
注释测试金额
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
application/api/controller/Order.php
application/api/controller/Rider.php
application/api/controller/Order.php
查看文件 @
8673f42
...
...
@@ -611,8 +611,8 @@ class Order extends Api
'type'
=>
'wechat'
,
'orderid'
=>
$order
[
'order_no'
],
'title'
=>
'订单号-'
.
$order
[
'order_no'
],
// 'amount' => $order['pay_price'],
'amount'
=>
0.01
,
'amount'
=>
$order
[
'pay_price'
],
// 'amount' => 0.01,
'method'
=>
'miniapp'
,
'openid'
=>
!
empty
(
$openid
)
?
$openid
:
$third
[
'openid'
],
'notifyurl'
=>
$this
->
request
->
domain
()
.
'/api/notify/orderNotify/type/wechat'
,
...
...
application/api/controller/Rider.php
查看文件 @
8673f42
...
...
@@ -366,7 +366,7 @@ class Rider extends Api
Db
::
startTrans
();
try
{
$money
=
0.01
;
//
$money = 0.01;
$order_sn
=
date
(
'Ymd'
)
.
substr
(
implode
(
NULL
,
array_map
(
'ord'
,
str_split
(
substr
(
uniqid
(),
7
,
13
),
1
))),
0
,
8
);
$withdraw
=
Withdraw
::
create
([
'user_id'
=>
$user
[
'id'
],
...
...
请
注册
或
登录
后发表评论