Fecmall

第 2 位会员

会员
个人信息
  • 加入于 2017-05-31 17:38:45
  • 城市 Qingdao
  • GitHub https://github.com/fecshop
  • 最后登录时间 7天前
  • 签名 净化自己,潜心编码
个人简介
Terry,Fecmall开源产品作者,12年电商经验一线程序员开发者,擅长规划产品,架构设计。
个人成就
  • 发表文章次数 744
  • 发布回复次数 5760
  • 个人主页浏览次数 683
添加菜单,权限管理处勾选新加菜单报错6年前

添加菜单后,在资源管理处,添加相应的url资源,然后刷新appadmin缓存

url资源是在后台添加,然后去配置文件中添加菜单,然后刷新缓存,然后在权限管理中添加url资源权限

RBAC可以提供灵活的控制,但是,操作起来比基于菜单的权限控制要复杂一些。

是否可以在基于fecshop的基础上开发成新的产品进行软件著作权的申请?6年前

1.申请软件著作权是可以的,但是要遵循协议,命名必须以fecshop开头命名

2.页面下方,不需要标明使用fecshop进行开发,授权协议没有这个说明

开源协议写的很清楚的

后台登录不了6年前

@joelzheng #4楼 设置多次密码是没有问题的,只要记住设置的密码就可以

后台登录不了6年前

@joelzheng #2楼

yii2的密码,相同的密码,多次设置后,单纯看字符串,都是不一样的

譬如 admin123,多次加密后,字符串都是不同的。

后台登录不了6年前

安装后,后台的账户密码

admin admin123

看看是否存在空格等字符造成的

windows php7以上mongodb扩展安装失败6年前

官方没教程,有fecshoper搞的教程,可以自己看看

开发环境基本都用linux,开发线上环境一致

产品管理-》产品搜索打不开,报错6年前

正常的,的确未开发,下个版本去掉

用户如何确认收货6年前

B2B2C需要确认收货功能,对B商家进行结算

自营B2C不需要确认收货功能,如果您的商城需要这个功能,可以自己二开

在order services添加一个订单状态:https://github.com/fecshop/yii2_fecshop/blob/master/services/Order.php#L57

Request header field fecshop-uuid is not allowed by Access-Control-Allow-Headers in preflight response.6年前

你可以把后端改成vue一样的域名(不同的子域)

或者按照文档,进行跨域设置(请使用域名,不要使用localhost这种带端口的,本地可以做域名host映射)

【置顶】Fecmall 线上项目案例6年前

Fecshop 1.6.1.0发布后,fecshop在性能,安全,功能方便都已经开发完善,成熟稳定,放心使用。

【置顶】【必读】论坛发帖规则6年前

形成沉淀,方便你我

后台菜单RBAC手动更新问题6年前

@qq3332794598 #4楼

如果是缓存,后台可以刷新缓存的

你也可以通过redis命令清空redis里面的缓存信息 flushall

你排查一下问题把

fecshop 性能测速6年前

上面的压测,是在阿里云本机进行的压测,去掉了网络开销的时间,如果用自己的本机电脑去压测阿里云的域名是不准确的,

因为:

1.网络延迟的问题

2.我的阿里云带宽比较小,各位不要压测我的demo地址,压测这种肯定压满带宽,阿里云会给堵塞(阿里云的带宽是要加钱才能加大的),进而压测我的demo,结果是不准确的

3.如果想自己压测核对一下结果,可以自己搭建fecmall,进行压测。

fecshop 性能测速6年前

http://www.laruence.com/2015/12/04/3086.html

开启了 HugePage , 性能又提升了,下面的测试,还是1核3G内存的阿里云(阿里云是4G内存,因为服务器有很多其他的应用,暂且定为3G内存)

appserver, 没有开启fecshop cache的ab测试结果

 [root@iZ942k2d5ezZ ~]# ab -n 100 -c 10 http://fecshop.appserver.fancyecommerce.com/catalog/category/index?categoryId=57bea0e3f656f275313bf56e&sortColumn=&filterAttrs=%7B%7D&filterPrice=
[1] 28123
[2] 28124
[3] 28125
[root@iZ942k2d5ezZ ~]# This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking fecshop.appserver.fancyecommerce.com (be patient).....done


Server Software:        nginx
Server Hostname:        fecshop.appserver.fancyecommerce.com
Server Port:            80

Document Path:          /catalog/category/index?categoryId=57bea0e3f656f275313bf56e
Document Length:        8628 bytes

Concurrency Level:      10
Time taken for tests:   2.241 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      903699 bytes
HTML transferred:       862800 bytes
Requests per second:    44.61 [#/sec] (mean)
Time per request:       224.150 [ms] (mean)
Time per request:       22.415 [ms] (mean, across all concurrent requests)
Transfer rate:          393.72 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.1      0       0
Processing:    72  222  25.1    221     310
Waiting:       17  173  22.1    175     206
Total:         72  222  25.1    221     310

Percentage of the requests served within a certain time (ms)
  50%    221
  66%    231
  75%    236
  80%    239
  90%    249
  95%    258
  98%    269
  99%    310
 100%    310 (longest request)
 
 

结果:Requests per second: 44.61 [#/sec] (mean)

开启fecshop cache

[root@iZ942k2d5ezZ ~]# ab -n 100 -c 10 http://fecshop.appserver.fancyecommerce.com/catalog/category/index?categoryId=57bea0e3f656f275313bf56e&sortColumn=&filterAttrs=%7B%7D&filterPrice=
[1] 28357
[2] 28358
[3] 28359
[root@iZ942k2d5ezZ ~]# This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking fecshop.appserver.fancyecommerce.com (be patient).....done


Server Software:        nginx
Server Hostname:        fecshop.appserver.fancyecommerce.com
Server Port:            80

Document Path:          /catalog/category/index?categoryId=57bea0e3f656f275313bf56e
Document Length:        8628 bytes

Concurrency Level:      10
Time taken for tests:   0.828 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      903601 bytes
HTML transferred:       862800 bytes
Requests per second:    120.84 [#/sec] (mean)
Time per request:       82.756 [ms] (mean)
Time per request:       8.276 [ms] (mean, across all concurrent requests)
Transfer rate:          1066.29 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.1      0       1
Processing:    26   81  19.0     83     143
Waiting:        7   61  15.7     62     110
Total:         26   81  19.1     83     143

Percentage of the requests served within a certain time (ms)
  50%     83
  66%     93
  75%     96
  80%     99
  90%    102
  95%    105
  98%    123
  99%    143
 100%    143 (longest request)

[1]   Done                    ab -n 100 -c 10 http://fecshop.appserver.fancyecommerce.com/catalog/category/index?categoryId=57bea0e3f656f275313bf56e
[2]-  Done                    sortColumn=
[3]+  Done                    filterAttrs=%7B%7D
[root@iZ942k2d5ezZ ~]# 
[root@iZ942k2d5ezZ ~]# 

结果:Requests per second: 120.84 [#/sec] (mean)

可以看到开启 HugePage 后,没有开启fecshop cache的情况下,由30多到了44.6 ,开启 fecshop cache的情况下,由98 到了120,性能提升了很多

鸟哥的php性能优化还有其他的一些细节,没有做配置。

因此开启hugePage对性能的提升还是很大的

后台菜单RBAC手动更新问题6年前

那应该不是缓存的问题,是代码的问题。

后台菜单RBAC手动更新问题6年前

后台刷新下缓存就可以了

Your Site Analytics