14 Star 30 Fork 10

川海软件 / ChuanHaiShop-php-yaf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 3.49 KB
一键复制 编辑 原始数据 按行查看 历史
川海软件 提交于 2022-11-25 14:36 . Update README.md

ChuanHaiShop 采用php的yaf内存框架开发,运行速度极快,自身集成orm,使用灵活,sql语句的执行采用sql预处理方式,从根源上避免了sql注入,业务逻辑大量采用行锁,事务,运行稳定。

ChuanHaiShop为b2c版本,但表结构已经设计为多商户,使用者可根据需要方便的自行改造为b2b2c.

产品特征:

多规格可以设置多价格,规格自定义

运费支持设置省级运费

 产品价格由 金额和积分2部分,积分用来抵扣现金,价格设置支持2位小数

配置:

1.安装:http://domain/install/index.php

2.环境要求:php>=5.4 (支持php7) yaf最新版即可,开启yaf命名空间

3.微信支付证书位置:\m\weixin\cert\

4.shell服务:php -f /web路径/cmd.php request_uri=/cmd/order/do

川海软件

后台地址:http://xxx.xxx.com/chuanhai 用户名:admin 密码:chuanhaisoft

川海即时通讯插件助您整合咨询系统,商家可使用桌面版与用户的web版在线交流,提高订单成交。

apache配置:
apache使用.htaccess即可

nginx 配置: server {
listen ***;
server_name domain.com;
root document_root;
index index.php index.html index.htm;

if (!-e $request_filename) {
rewrite ^/(.
) /index.php/$1 last;
}
}

Lighttpd配置: $HTTP["host"] =~ "(www.)?domain.com$" {
url.rewrite = (
"^/(.+)/?$" => "/index.php/$1",
)
}

SAE的配置 (config.yaml)

name: your_app_name
version: 1
handle:
- rewrite: if(!is_dir() && !is_file() && path ~ "^(.*)$" ) goto "/index.php"

app端:

移动web端:

管理端:


川海app:
客服桌面端截图:
PHP
1
https://gitee.com/276556803/ChuanHaiShop-php-yaf.git
git@gitee.com:276556803/ChuanHaiShop-php-yaf.git
276556803
ChuanHaiShop-php-yaf
ChuanHaiShop-php-yaf
master

搜索帮助