| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?php
- declare (strict_types=1);
- namespace app\command;
- use AdaPaySdk\Drawcash;
- use AdaPaySdk\PaymentConfirm;
- use AdaPaySdk\SettleAccount;
- use app\common\model\merchant\order\OrderMerchant;
- use app\common\model\store\order\StoreOrder;
- use app\common\model\user\User;
- use app\common\model\user\UserCertification;
- use app\common\repositories\merchant\order\OrderGzcRepository;
- use app\common\repositories\merchant\order\OrderMerchantRepository;
- use app\common\repositories\store\order\StoreOrderStatusRepository;
- use app\common\repositories\store\order\StoreRefundOrderRepository;
- use app\common\repositories\store\product\ProductRepository;
- use app\common\repositories\user\UserBillRepository;
- use app\common\repositories\user\UserRepository;
- use app\common\repositories\user\UserThirdRepository;
- use app\controller\api\Common;
- use app\controller\api\cron\CommissionCron;
- use app\controller\api\merchant\sxy\Access;
- use app\controller\api\store\product\Jd;
- use app\controller\api\util\Signature;
- use app\traits\GongApiRequest;
- use app\traits\GzcApiRequest;
- use app\traits\ShouxinyiApiRequest;
- use Carbon\Carbon;
- use think\App;
- use think\console\Command;
- use think\console\Input;
- use think\console\Output;
- use think\Exception;
- use think\facade\Db;
- use think\facade\Log;
- use app\common\repositories\store\order\StoreOrderRepository;
- use think\facade\Request;
- /**
- * Class PensionTasks
- * @package app\command
- * @author: php迷途小书童
- * @created: 2021/3/19 9:14
- */
- class CommissionCronTask extends Command
- {
- /**
- * @var string
- */
- private $appid;
- /**
- * @var string
- */
- private $appKey;
- /**
- * @var string
- */
- private $secretKey;
- /**
- * @var string
- */
- private $url;
- protected function configure()
- {
- // 指令配置
- $this->setName('CommissionCronTask')
- ->setDescription('the CommissionCronTask command');
- }
- protected function execute(Input $input, Output $output)
- {
- $commissionCron = new CommissionCron();
- $commissionCron->platform_income_detail_get();
- }
- }
|