|
|
@@ -298,7 +298,7 @@ class UserThirdRepository extends BaseRepository
|
|
298
|
298
|
public function repurchaseAreaEstimateAnnuityOrder($order_id, $commission, $pid, $order_sn, $type, $table)
|
|
299
|
299
|
{
|
|
300
|
300
|
//用户商家信息
|
|
301
|
|
- $user_mer = $this->getMer($pid);
|
|
|
301
|
+// $user_mer = $this->getMer($pid);
|
|
302
|
302
|
try {
|
|
303
|
303
|
$money=$commission;
|
|
304
|
304
|
//返佣比例
|
|
|
@@ -318,7 +318,7 @@ class UserThirdRepository extends BaseRepository
|
|
318
|
318
|
"order_sn"=>$order_sn,
|
|
319
|
319
|
"order_id"=>$order_id,
|
|
320
|
320
|
"uid"=>$pid,
|
|
321
|
|
- "mer_id"=>$user_mer,
|
|
|
321
|
+ "mer_id"=>Db::name("store_order")->where("order_id",$order_id)->value("mer_id"),
|
|
322
|
322
|
"total_price"=>$commission,
|
|
323
|
323
|
"extension_one"=>$extension_one,
|
|
324
|
324
|
"type_shop"=>$type,
|