|
|
@ -45,7 +45,7 @@ class MineCommand extends HyperfCommand
|
|
|
|
|
|
|
|
|
|
|
|
public function handle(): void
|
|
|
|
public function handle(): void
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$this->queryOrder();
|
|
|
|
$this->unbindCard();
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
// $this->notify('http://ceshi-shop.hkcpex.com/index.php/pay/notify/baofu_f_register', $this->getApp(), ['userId' => '30684']);
|
|
|
|
// $this->notify('http://ceshi-shop.hkcpex.com/index.php/pay/notify/baofu_f_register', $this->getApp(), ['userId' => '30684']);
|
|
|
|
$this->notify('http://ceshi-shop.hkcpex.com/index.php/pay/notify/baofu_f_bind_card', $this->getApp(), ['userId' => '23121', 'bindCardFlag' => true]);
|
|
|
|
$this->notify('http://ceshi-shop.hkcpex.com/index.php/pay/notify/baofu_f_bind_card', $this->getApp(), ['userId' => '23121', 'bindCardFlag' => true]);
|
|
|
@ -164,7 +164,7 @@ class MineCommand extends HyperfCommand
|
|
|
|
* @var UserService $userService
|
|
|
|
* @var UserService $userService
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
$userService = $this->container->make(UserService::class);
|
|
|
|
$userService = $this->container->make(UserService::class);
|
|
|
|
$result = $userService->unbindCard(['userId' => 'ELF1990', 'agreementNo' => '312023080400002047764'], $this->getApp());
|
|
|
|
$result = $userService->unbindCard(['userId' => 'ELF1990', 'agreementNo' => '312023081200002052866'], $this->getApp());
|
|
|
|
var_dump($result);
|
|
|
|
var_dump($result);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|