|
@@ -81,7 +81,7 @@ class PublicController extends BaseController
|
|
|
|
|
|
$list = $awardIntegralService->search()->select();
|
|
$list = $awardIntegralService->search()->select();
|
|
foreach ($list as $v) {
|
|
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]);
|
|
$awardIntegralService->update($v['id'], ['pay_type' => $order]);
|
|
}
|
|
}
|
|
// $userService = app()->make(UserServices::class);
|
|
// $userService = app()->make(UserServices::class);
|