|
@@ -79,11 +79,7 @@ class PublicController extends BaseController
|
|
/** @var UserServices $userService */
|
|
/** @var UserServices $userService */
|
|
|
|
|
|
|
|
|
|
- $list = $awardIntegralService->search()->select();
|
|
|
|
- foreach ($list as $v) {
|
|
|
|
- $order = StoreOrder::where('id', $v['order_id'])->value('pay_type');
|
|
|
|
- $awardIntegralService->update($v['id'], ['pay_type' => $order]);
|
|
|
|
- }
|
|
|
|
|
|
+ var_dump($awardIntegralService->getPaySum(11));
|
|
// $userService = app()->make(UserServices::class);
|
|
// $userService = app()->make(UserServices::class);
|
|
// $rate = sys_config('action_integral_rate', 3);
|
|
// $rate = sys_config('action_integral_rate', 3);
|
|
// $award_order_limit = sys_config('award_order_limit');
|
|
// $award_order_limit = sys_config('award_order_limit');
|