TypechoJoeTheme

爱微云博客 - 致力于打造一个分享技术网

登录
用户名
密码
/
注册
用户名
邮箱
输入密码
确认密码

风铃发卡网搭建+添加易支付接口教程

夏金博主
2023-01-14
/
44 评论
/
235 阅读
/
522 个字
/
百度已收录
01/14
本文最后更新于2023年10月08日,已超过279天没有更新。如果文章内容或图片资源失效,请留言反馈,我会及时处理,谢谢!

最终搭建成果图片


PS:觉得麻烦也可以联系QQ368857570搭建,需要自己准备服务器+域名+搭建30元远程,需要加对接支付接口+15元(也可以自己加)

1.进入宝塔面板 - 网站 - 新建 - 填写域名(自己解析绑定) - 数据库(MySQL) - PHP版本(PHP-73)

2.下载网站源码

cd /www/wwwroot/运行网站目录
curl -L -o card_release.tar.gz https://github.com/Tai7sy/card-system/releases/download/3.0/card_release.tar.gz && tar -zxf card_release.tar.gz && \cp -rf card_system_free_dist/. . && rm -rf card_system_free_dist card_release.tar.gz
chmod -R 777 storage/
chmod -R 777 bootstrap/cache/

3.修改配置文件

cd /www/wwwroot/运行网站目录
php -r "copy('.env.example', '.env');"

4.进入面板, 文件, 网站目录, 找到 .env, 进行编辑 (或者 vim 直接编辑:)

此处请修改数据库配置文件
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=数据库名
DB_USERNAME=数据库用户名
DB_PASSWORD=数据库密码

5.构建数据库

cd /www/wwwroot/运行网站目录
php artisan key:generate
php artisan migrate:fresh --seed
php artisan cache:clear

提示: 若这一步出现红色错误内容: 'xxx' has been disabled, 是由于宝塔自动禁用了很多函数, 请到php设置里面启用相应的函数

6.面板网站设置

关闭防跨站攻击(open_basedir), 并设置运行目录为/public

重启php, 网站正常访问

注意: 若为Nginx, 请在这一步手动点击伪静态, 配置规则, 参考如下:

location / {
    try_files $uri $uri/ /index.php?$query_string;
}

后台设置
默认账号密码 admin@qq.com/123456, 请及时修改

进入后台 域名/admin

管理中心 - 网站设置 - 常规, 填写 网站地址 与 网站API地址, 保存配置

管理中心 - 支付渠道, 配置你的支付信息

网站安装完毕, 可以开始使用了~

忘记密码后重置

cd /www/wwwroot/运行网站目录
php artisan reset:password admin@qq.com 123456

对接易支付的教程

1.先下载风铃发卡易支付集成包

{hide}

扫一扫关注微信公众号回复:风铃发卡易支付集成包


{/hide}

2.下载后上传到风铃发卡网站目录,并解压

3.然后需要找到刚才上传的app/Library/Gateway/Pay/Hlcode/Api.php文件,更改里面的63行header,把里面的网址www.kmlcsm.cn改成你要对接的易支付网址

4.登录风铃发卡后台

添加易支付的支付宝/微信,驱动输入:Hlcode

{
  "id": "你的商户id",
  "key": "你的商户KEY"
}

添加的是QQ钱包:qqpay 支付宝:alipay 微信:wxpay

5.添加后点击开关启用,然后在子渠道的旁边点前台支付选择刚才启用的易支付渠道就可以支付了

风铃发卡网
朗读
赞(0)
版权属于:

爱微云博客 - 致力于打造一个分享技术网

本文链接:

https://blog.rr11.cn/index.php/archives/430/(转载时请注明本文出处及文章链接)

评论 (44)
  1. bb 闲逛
    Windows X64 · Google Chrome

    fgg

    2023-01-16 回复
    1. 11e11 闲逛
      Windows 10 · Google Chrome
      @bb

      1:$(爱心)

      2023-02-18 回复
  2. 111 闲逛
    Windows 10 · Google Chrome

    haioketiu

    2023-01-19 回复
  3. 11 闲逛
    Windows 10 · QQ Browser

    1

    2023-01-23 回复
  4. eherh 闲逛
    Windows 10 · Google Chrome

    1122334

    2023-01-25 回复
  5. 闲逛
    Windows 10 · Google Chrome

    的稳定性·

    2023-01-27 回复
  6. 老板好 闲逛
    Windows 10 · Google Chrome

    666666666666666666666

    2023-01-29 回复
  7. 撒大声地1 博主
    Windows 10 · Google Chrome

    123213

    2023-01-30 回复
  8. 花花 闲逛
    Windows 10 · QQ Browser

    666666666666666666666

    2023-02-04 回复
  9. mi 闲逛
    Android · Google Chrome

    下载尝尝鲜

    2023-02-05 回复
  10. 6666 闲逛
    Windows 10 · Google Chrome

    666666666

    2023-02-09 回复
  11. lcr206113 博主
    Windows 10 · Google Chrome

    1132312

    2023-02-11 回复
  12. 56161563 闲逛
    Windows 7 · Google Chrome

    111

    2023-02-13 回复
  13. 111 闲逛
    Windows 10 · Google Chrome

    1

    2023-02-15 回复
  14. 11 闲逛
    Windows 10 · Google Chrome

    111

    2023-02-16 回复
  15. cs 闲逛
    Android · Google Chrome

    感谢楼主分享

    2023-02-19 回复
  16. 123 闲逛
    Windows 10 · FireFox

    123

    2023-02-20 回复
  17. DSFSFSF21 博主
    Windows 10 · Google Chrome

    12312312312

    2023-02-22 回复
  18. 666 闲逛
    Windows 10 · QQ Browser

    45343433

    2023-02-25 回复
  19. 78 闲逛
    Windows 10 · Google Chrome

    666:$(爱你)

    2023-03-05 回复
  20. 11 闲逛
    Windows 10 · Google Chrome

    6666

    2023-03-06 回复
  21. 666 闲逛
    Windows 10 · UC Browser

    66

    2023-03-14 回复
  22. 77777 闲逛
    Windows 10 · QQ Browser

    22222

    2023-03-18 回复
  23. 闲逛
    Android Pie · Google Chrome

    厉害厉害

    2023-04-01 回复
  24. jkke 闲逛
    Windows 10 · Google Chrome

    22

    2023-04-06 回复
  25. 浪子 博主
    Windows 10 · Google Chrome

    nbnb,我用了异次元官方的,风铃官方的一个没法支付一个支付跳转了卡网显示未支付,这个一下好了

    2023-04-11 回复
  26. 1111 博主
    Windows 10 · Google Chrome

    1

    2023-04-29 回复
  27. 闲逛
    Windows 10 · Google Chrome

    6666

    2023-04-29 回复
  28. 51 闲逛
    Windows 10 · Google Chrome

    41444

    2023-05-02 回复
  29. zenglk 博主
    Windows 10 · Google Chrome

    hi hi hi

    2023-05-03 回复
  30. 66 闲逛
    Android · QQ Browser

    :$(爱你)

    2023-05-04 回复
  31. NicolasAfu 闲逛
    Windows 10 · Google Chrome

    回复

    2023-05-08 回复
  32. 1231 闲逛
    Windows 10 · QQ Browser

    非常完美

    2023-05-12 回复
  33. aaaa 博主
    Windows 10 · Google Chrome

    666

    2023-05-16 回复
  34. 123321 闲逛
    Windows 10 · Google Chrome

    回复123

    2023-05-27 回复
  35. 111 闲逛
    Windows 10 · Google Chrome

    111

    2023-06-22 回复
  36. 嘿嘿 闲逛
    Windows 10 · Google Chrome

    谢谢

    2023-07-19 回复
  37. 111 闲逛
    Windows 10 · Google Chrome

    66666666

    2023-07-26 回复
  38. 16466494 闲逛
    Android Pie · Google Chrome

    161646646494

    2023-07-27 回复
  39. shshhs 闲逛
    Android Oreo · Google Chrome

    nbdbe

    2023-08-01 回复
  40. xys7888889 博主
    Windows 10 · Google Chrome

    asdlkhjasljd

    2023-09-13 回复
  41. 1231 闲逛
    Windows 10 · Google Chrome

    dsf

    2023-10-02 回复
  42. 萧玉 闲逛
    Android Oreo · Google Chrome

    6

    2023-11-14 回复
  43. 杨怀远 博主
    Windows 10 · Google Chrome

    加油

    2024-02-21 回复

人生倒计时

今日已经过去小时
这周已经过去
本月已经过去
今年已经过去个月

最新回复

  1. zengniu闲逛
    2024-07-02
  2. 杨怀远博主
    2024-02-21
  3. 萧玉闲逛
    2023-11-14

    6

  4. 闲逛
    2023-10-26

  5. 老岳博主
    2023-10-08

    {!{data:image/webp;base64,UklGRiAUAABXRUJQVlA4WAoAAAAwAAAAawIAKwEASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBh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