|
|
@@ -558,6 +558,7 @@ class DaTaoKe
|
|
558
|
558
|
//处理淘宝客订单
|
|
559
|
559
|
public static function operateOrder($formatLists)
|
|
560
|
560
|
{
|
|
|
561
|
+ /** @var UserThirdRepository $orderThird */
|
|
561
|
562
|
$orderThird = app()->make(UserThirdRepository::class);
|
|
562
|
563
|
foreach ($formatLists as $k => $order) {
|
|
563
|
564
|
log::info("=++++==taobaoorder=====+++");
|
|
|
@@ -588,6 +589,13 @@ class DaTaoKe
|
|
588
|
589
|
$localOrder['order_sn'],
|
|
589
|
590
|
5
|
|
590
|
591
|
);
|
|
|
592
|
+ if($order['tk_status'] == 13){
|
|
|
593
|
+ //修改积分和贡献,yanglaojin值记录
|
|
|
594
|
+ $orderThird->updateJilu(
|
|
|
595
|
+ $localOrder['uid'],
|
|
|
596
|
+ $localOrder['order_tb_id'],
|
|
|
597
|
+ 5);
|
|
|
598
|
+ }
|
|
591
|
599
|
} else {
|
|
592
|
600
|
if($localOrder['tk_status']!=$order['tk_status']) {
|
|
593
|
601
|
log::info("=============更新订单");
|