作者 景龙
1 个管道 的构建 失败 耗费 0 秒

修改注释错误

... ... @@ -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')
... ...
... ... @@ -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": "成功",
... ...