|
@@ -80,10 +80,9 @@ class AlipayPaymentService extends PaymentService
|
|
|
*/
|
|
|
public function opvip(): string
|
|
|
{
|
|
|
- echo 1111;
|
|
|
+
|
|
|
$notify = App::instance($this->config)->notify();
|
|
|
- echo 333;die();
|
|
|
- file_put_contents("aplopenvip.txt", json_encode($notify,true) . "\n" . "\n", FILE_APPEND);
|
|
|
+
|
|
|
if (in_array($notify['trade_status'], ['TRADE_SUCCESS', 'TRADE_FINISHED'])) {
|
|
|
if ($this->updateOpvipAction($notify)) {
|
|
|
return 'success';
|