浏览代码

会员升级

Kirin 5 天之前
父节点
当前提交
5d7847ee69
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/api/v1/PublicController.php

+ 1 - 1
app/controller/api/v1/PublicController.php

@@ -81,7 +81,7 @@ class PublicController extends BaseController
 
         $list = $awardIntegralService->search()->select();
         foreach ($list as $v) {
-            $order = StoreOrder::where('id', $v['link_id'])->value('pay_type');
+            $order = StoreOrder::where('id', $v['order_id'])->value('pay_type');
             $awardIntegralService->update($v['id'], ['pay_type' => $order]);
         }
 //        $userService = app()->make(UserServices::class);