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