|
|
@@ -66,10 +66,10 @@ class OrderService extends BaseService
|
|
|
//取客户最近若干条订单 shish 2019.11.30
|
|
|
public static function getUserOrder($userId, $limit = 10, $order = null, $with = null)
|
|
|
{
|
|
|
- $where = ['userId' => $userId];
|
|
|
+ $where = ['userId' => $userId, 'payStatus' => 1];
|
|
|
return self::getLimitList('*', $where, $limit, $order, $with);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
//支付前验证订单 shish 2019.12.6
|
|
|
public static function checkBeforePay($order, $userId)
|
|
|
{
|