1 Star 0 Fork 167

yangdemin / quick-pay

forked from 承熙 / quick-pay 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

个人支付PC页面

文件说明:

  • function.php : 公用功能函数,配置

  • order.php : 下单演示,订单状态查询

  • notify.php : 订单通知接受

  • index.pug 下单页面

  • pay.pug : 支付页面

  • complate.pug : 支付完成页面

  • src/rest-mapping.js: 配置文件,将接口地址改成自己的实际地址

  • config/dev.env.js 开发环境配置文件

  • config/prod.env.js 生产环境配置文件

  • config/index.js 项目构建配置文件

  • dist/ 将前端和源代码进行构建后生成的目录

项目所用技术栈参考文档

开始使用

本地开发配置

将根路径下的所有php文件和pxpay文件夹放置到php容器中,并修改dev.env.js 中的RESUEST_HOST字段

开启跨域请求: 编辑 order.php 进行配置

安装环境

下载并安装 Nodejs (https://nodejs.org/en/)

安装依赖

npm install

本地开发

npm run dev

访问:http://localhost:8080/

生产环境资源发布

npm run build

QQ交流群

153497287

The MIT License (MIT) Copyright (c) 2018 Sun Sipeng Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

个人支付页面.自动适配PC ,手机. 识别微信/支付宝. 支付宝可以自动跳转打开客户端。 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/yangdmim/quick-pay.git
git@gitee.com:yangdmim/quick-pay.git
yangdmim
quick-pay
quick-pay
demo

搜索帮助