開啟支付
如果要顯示會員支付欄目(如圖紅框),必須配置支付寶或者微信。
配置方法
進入webman目錄安裝 yansongda/pay
PHP7.4用戶執(zhí)行命令
composer require -W yansongda/pay ~3.3.0
PHP8用戶執(zhí)行命令
composer require -W yansongda/pay ~3.5.0
新建 plugin/ai/config/payment.php
,內(nèi)容參考plugin/ai/config/payment.example.php
重啟webman php start.php restart -d
支付寶支付相關參考
詳細支付寶配置教程參考 http://wtbis.cn/a/1564
微信支付相關參考
詳細微信配置教程參考 http://wtbis.cn/a/1613