切换导航条
此项目
正在载入...
登录
景龙
/
feipin
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
景龙
6 years ago
提交
bfa026eed54c543f65bcede0eed74df164708d61
1 个父辈
c3768bd6
1 个管道 的构建
失败
耗费 4 秒
更新api文档
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
7 行增加
和
7 行删除
application/api/controller/Wxpay.php
public/api.html
application/api/controller/Wxpay.php
查看文件 @
bfa026e
...
...
@@ -122,7 +122,7 @@ class Wxpay extends Api
/**
* @ApiTitle (商品订单去付款)
* @ApiSummary (商品订单去付款)
* @ApiMethod (
POS
T)
* @ApiMethod (
GE
T)
* @ApiRoute (/api/wxpay/toPay)
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
* @ApiParams (name="o_id", type="integer", required=true, description="订单id")
...
...
@@ -181,7 +181,7 @@ class Wxpay extends Api
* @ApiTitle (充值)
* @ApiSummary (充值)
* @ApiMethod (POST)
* @ApiRoute (/api/wxpay/
toPay
)
* @ApiRoute (/api/wxpay/
payCharge
)
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
* @ApiParams (name="amount", type="integer", required=true, description="充值金额")
* @ApiParams (name="openid", type="integer", required=true, description="openid")
...
...
public/api.html
查看文件 @
bfa026e
...
...
@@ -11407,7 +11407,7 @@
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
id=
"heading-84"
>
<h4
class=
"panel-title"
>
<span
class=
"label label-
primary"
>
POS
T
</span>
<span
class=
"label label-
success"
>
GE
T
</span>
<a
data-toggle=
"collapse"
data-parent=
"#accordion84"
href=
"#collapseOne84"
>
商品订单去付款
<span
class=
"text-muted"
>
/api/wxpay/toPay
</span></a>
</h4>
</div>
...
...
@@ -11497,7 +11497,7 @@
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
><strong>
参数
</strong></div>
<div
class=
"panel-body"
>
<form
enctype=
"application/x-www-form-urlencoded"
role=
"form"
action=
"/api/wxpay/toPay"
method=
"
POS
T"
name=
"form84"
id=
"form84"
>
<form
enctype=
"application/x-www-form-urlencoded"
role=
"form"
action=
"/api/wxpay/toPay"
method=
"
GE
T"
name=
"form84"
id=
"form84"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
for=
"o_id"
>
o_id
</label>
<input
type=
"integer"
class=
"form-control input-sm"
id=
"o_id"
required
placeholder=
"订单id"
name=
"o_id"
>
...
...
@@ -11645,7 +11645,7 @@
<div
class=
"panel-heading"
id=
"heading-86"
>
<h4
class=
"panel-title"
>
<span
class=
"label label-primary"
>
POST
</span>
<a
data-toggle=
"collapse"
data-parent=
"#accordion86"
href=
"#collapseOne86"
>
充值
<span
class=
"text-muted"
>
/api/wxpay/
toPay
</span></a>
<a
data-toggle=
"collapse"
data-parent=
"#accordion86"
href=
"#collapseOne86"
>
充值
<span
class=
"text-muted"
>
/api/wxpay/
payCharge
</span></a>
</h4>
</div>
<div
id=
"collapseOne86"
class=
"panel-collapse collapse"
>
...
...
@@ -11740,7 +11740,7 @@
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
><strong>
参数
</strong></div>
<div
class=
"panel-body"
>
<form
enctype=
"application/x-www-form-urlencoded"
role=
"form"
action=
"/api/wxpay/
toPay
"
method=
"POST"
name=
"form86"
id=
"form86"
>
<form
enctype=
"application/x-www-form-urlencoded"
role=
"form"
action=
"/api/wxpay/
payCharge
"
method=
"POST"
name=
"form86"
id=
"form86"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
for=
"amount"
>
amount
</label>
<input
type=
"integer"
class=
"form-control input-sm"
id=
"amount"
required
placeholder=
"充值金额"
name=
"amount"
>
...
...
@@ -12035,7 +12035,7 @@
<div
class=
"row mt0 footer"
>
<div
class=
"col-md-6"
align=
"left"
>
Generated on 2019-04-1
3 16:39:44
</div>
Generated on 2019-04-1
5 10:20:11
</div>
<div
class=
"col-md-6"
align=
"right"
>
<a
href=
"https://www.fastadmin.net"
target=
"_blank"
>
FastAdmin
</a>
</div>
...
...
请
注册
或
登录
后发表评论