|
|
@@ -43,7 +43,7 @@ class PledgeLogic
|
|
|
->join('product_list b', 'a.product_id = b.id', 'left')
|
|
|
->where('a.user_id', $user_id)
|
|
|
->where('a.status', $model::Paid)
|
|
|
- ->whereIn('a.order_no', $order_no)->field('b.id,b.thum,a.order_no')->select();
|
|
|
+ ->whereIn('a.order_no', $order_no)->field('b.id,b.zh_name,b.thum,a.order_no')->select();
|
|
|
|
|
|
if(empty($product) || count($product) != count($order_no)) throw new Exception('订单不存在');
|
|
|
$pledge_num = 1;
|
|
|
@@ -139,6 +139,8 @@ class PledgeLogic
|
|
|
return Loader::model('LedgerWalletModel')->changeWalletAccount($user_id, Asset::TEAC, $total, LedgerTeacChangeModel::Pledge, 0);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
//判断请求限制
|
|
|
public static function getCheckRequestApi(string $key, int $user_id, int $time = 300)
|
|
|
{
|