|
@@ -60,7 +60,7 @@ class OrderController extends HomeBaseController{ |
|
@@ -60,7 +60,7 @@ class OrderController extends HomeBaseController{ |
60
|
*
|
60
|
*
|
61
|
* @param name:users_id type:String require:1 default:无 other: desc:用户id
|
61
|
* @param name:users_id type:String require:1 default:无 other: desc:用户id
|
62
|
*
|
62
|
*
|
63
|
- *
|
63
|
+ * @return data:返回用于调用支付的参数
|
64
|
*/
|
64
|
*/
|
65
|
public function order(){
|
65
|
public function order(){
|
66
|
$users_id=$this->request->param('users_id');
|
66
|
$users_id=$this->request->param('users_id');
|
|
@@ -100,6 +100,7 @@ class OrderController extends HomeBaseController{ |
|
@@ -100,6 +100,7 @@ class OrderController extends HomeBaseController{ |
100
|
* @param name:order_no type:String require:1 default:无 other: desc:订单号
|
100
|
* @param name:order_no type:String require:1 default:无 other: desc:订单号
|
101
|
* @param name:openId type:String require:1 default:无 other: desc:openId
|
101
|
* @param name:openId type:String require:1 default:无 other: desc:openId
|
102
|
*
|
102
|
*
|
|
|
103
|
+ * @return data:返回用于调用支付的参数
|
103
|
*/
|
104
|
*/
|
104
|
public function pay($order_no){
|
105
|
public function pay($order_no){
|
105
|
$order=Db::name('order')->where(['order_no'=>$order_no,'state'=>2])->find();
|
106
|
$order=Db::name('order')->where(['order_no'=>$order_no,'state'=>2])->find();
|