|
@@ -74,12 +74,12 @@ class PublicController extends BaseController
|
|
|
public function test()
|
|
|
{
|
|
|
// (new IntegralJob)->dealOrderIntegral(StoreOrder::find(2529));
|
|
|
- /** @var AwardIntegralServices $awardIntegralService */
|
|
|
- $awardIntegralService = app()->make(AwardIntegralServices::class);
|
|
|
+ /** @var IntegralJob $awardIntegralService */
|
|
|
+ $awardIntegralService = app()->make(IntegralJob::class);
|
|
|
/** @var UserServices $userService */
|
|
|
|
|
|
|
|
|
- var_dump($awardIntegralService->getPaySum2(11));
|
|
|
+ var_dump($awardIntegralService->dealOrderIntegral(3442));
|
|
|
// $userService = app()->make(UserServices::class);
|
|
|
// $rate = sys_config('action_integral_rate', 3);
|
|
|
// $award_order_limit = sys_config('award_order_limit');
|