Skip to content

Commit

Permalink
Merge pull request assimon#404 from JiangJuHong/master
Browse files Browse the repository at this point in the history
feat 增加支付宝手机网站支付功能
  • Loading branch information
assimon authored Jul 11, 2023
2 parents 1fb324d + 12485f5 commit b758799
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions app/Http/Controllers/Pay/AlipayController.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ public function gateway(string $payway, string $orderSN)
} catch (\Exception $e) {
return $this->err(__('dujiaoka.prompt.abnormal_payment_channel') . $e->getMessage());
}
case 'aliwap':
try{
$result = Pay::alipay($config)->wap($order);
return $result;
} catch (\Exception $e) {
return $this->err(__('dujiaoka.prompt.abnormal_payment_channel') . $e->getMessage());
}
}
} catch (RuleValidationException $exception) {
return $this->err($exception->getMessage());
Expand Down
3 changes: 2 additions & 1 deletion public/assets/hyper/js/hyper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion public/assets/luna/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b758799

Please sign in to comment.