切换导航条
此项目
正在载入...
登录
景龙
/
feipin
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
景龙
6 years ago
提交
c4fa2ac61b87dad88e60a26135b1861e098c0c30
1 个父辈
b20d7a4b
1 个管道 的构建
失败
耗费 0 秒
修改注释错误
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
2 行删除
application/api/controller/Omessages.php
application/api/controller/Wxpay.php
application/api/controller/Omessages.php
查看文件 @
c4fa2ac
...
...
@@ -64,7 +64,7 @@ class Omessages extends Api
$data
=
Db
::
table
(
'gc_porder'
)
->
alias
(
'o'
)
->
join
(
'gc_product p'
,
'o.p_id = p.id'
,
'LEFT'
)
->
join
(
'gc_user u'
,
'o.
s_
uid = u.id'
,
'LEFT'
)
->
join
(
'gc_user u'
,
'o.uid = u.id'
,
'LEFT'
)
->
where
([
'o.s_uid'
=>
$this
->
user_id
,
'p.status'
=>
$this
->
normal
,
'u.status'
=>
'normal'
])
->
page
(
$page
,
$limit
)
->
field
(
'o.id,o.order_sn,o.status,p.title,u.username,o.is_read'
)
...
...
application/api/controller/Wxpay.php
查看文件 @
c4fa2ac
...
...
@@ -183,7 +183,8 @@ class Wxpay extends Api
* @ApiMethod (POST)
* @ApiRoute (/api/wxpay/toPay)
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
* @ApiParams (name="o_id", type="integer", required=true, description="订单id")
* @ApiParams (name="amount", type="integer", required=true, description="充值金额")
* @ApiParams (name="openid", type="integer", required=true, description="openid")
* @ApiReturn ({
"code": 1,
"msg": "成功",
...
...
请
注册
或
登录
后发表评论