第 2 位会员
帮助文档进行了更新:http://www.fecmall.com/doc/fecshop-guide/instructions/cn-1.0/guide-fecshop_home.html
测试了一下阿里云的源,海可以,3-5分钟可以响应下载
[root@iZ942k2d5ezZ test]# composer create-project fancyecommerce/fecshop-app-advanced fecshop 2.1.0 Do not run Composer as root/super user! See https://getcomposer.org/root for details Installing fancyecommerce/fecshop-app-advanced (2.1.0) - Installing fancyecommerce/fecshop-app-advanced (2.1.0): Downloading (100%) Created project in fecshop Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 79 installs, 0 updates, 0 removals - Installing yiisoft/yii2-composer (2.0.8): Loading from cache - Installing scrivo/highlight.php (v8.9.1): Loading from cache - Installing mikevanriel/text-to-latex (1.0.1): Loading from cache - Installing cebe/markdown (1.0.3): Loading from cache - Installing cebe/markdown-latex (1.1.5): Loading from cache - Installing cebe/js-search (0.9.3): Loading from cache - Installing nikic/php-parser (v0.9.5): Loading from cache - Installing phpdocumentor/reflection-docblock (2.0.5): Loading from cache - Installing psr/log (1.1.0): Loading from cache - Installing phpdocumentor/reflection (1.0.7): Loading from cache - Installing bower-asset/jquery (3.4.1): Loading from cache - Installing bower-asset/bootstrap (v3.4.1): Loading from cache - Installing bower-asset/yii2-pjax (2.0.7.1): Loading from cache - Installing bower-asset/punycode (v1.3.2): Loading from cache - Installing ezyang/htmlpurifier (v4.11.0): Loading from cache - Installing bower-asset/inputmask (3.3.11): Loading from cache - Installing yiisoft/yii2 (2.0.24): Loading from cache - Installing yiisoft/yii2-bootstrap (2.0.10): Loading from cache - Installing yiisoft/yii2-apidoc (2.0.6): Loading from cache - Installing hightman/xunsearch (1.4.13): Loading from cache - Installing facebook/graph-sdk (5.7.0): Loading from cache - Installing symfony/polyfill-ctype (v1.12.0): Loading from cache - Installing paragonie/random_compat (v9.99.99): Loading from cache - Installing symfony/polyfill-mbstring (v1.12.0): Loading from cache - Installing ramsey/uuid (3.8.0): Loading from cache - Installing yiisoft/yii2-mongodb (2.1.7): Loading from cache - Installing phpoffice/phpexcel (1.8.2): Loading from cache - Installing yiisoft/yii2-redis (2.0.9): Loading from cache - Installing imagine/imagine (v0.7.1): Loading from cache - Installing fancyecommerce/fec (1.1.5.0): Loading from cache - Installing fancyecommerce/fec_admin (1.3.9.2): Loading from cache - Installing swiftmailer/swiftmailer (v5.4.12): Loading from cache - Installing yiisoft/yii2-swiftmailer (2.0.7): Loading from cache - Installing fancyecommerce/fecshop (2.1.0): Downloading (100%) - Installing yiisoft/yii2-debug (2.0.14): Loading from cache - Installing bower-asset/typeahead.js (v0.11.1): Loading from cache - Installing phpspec/php-diff (v1.1.0): Loading from cache - Installing yiisoft/yii2-gii (2.0.8): Loading from cache - Installing fzaninotto/faker (v1.8.0): Loading from cache - Installing yiisoft/yii2-faker (2.0.4): Loading from cache - Installing sebastian/diff (3.0.2): Loading from cache - Installing sebastian/recursion-context (3.0.0): Loading from cache - Installing sebastian/exporter (3.1.0): Loading from cache - Installing sebastian/comparator (3.0.2): Loading from cache - Installing theseer/tokenizer (1.1.3): Loading from cache - Installing sebastian/version (2.0.1): Loading from cache - Installing sebastian/environment (4.2.2): Loading from cache - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache - Installing phpunit/php-text-template (1.2.1): Loading from cache - Installing phpunit/php-token-stream (3.1.0): Loading from cache - Installing phpunit/php-file-iterator (2.0.2): Loading from cache - Installing sebastian/resource-operations (2.0.1): Loading from cache - Installing sebastian/object-reflector (1.1.1): Loading from cache - Installing sebastian/object-enumerator (3.0.3): Loading from cache - Installing phpunit/php-timer (2.1.2): Loading from cache - Installing doctrine/instantiator (1.2.0): Loading from cache - Installing phpspec/prophecy (1.8.1): Loading from cache - Installing phar-io/version (2.0.1): Loading from cache - Installing phar-io/manifest (1.0.3): Loading from cache - Installing myclabs/deep-copy (1.9.1): Loading from cache - Installing phpunit/php-code-coverage (6.1.4): Loading from cache - Installing sebastian/global-state (2.0.0): Loading from cache - Installing phpunit/phpunit (7.5.14): Loading from cache - Installing symfony/yaml (v3.4.30): Loading from cache - Installing codeception/phpunit-wrapper (7.7.1): Loading from cache - Installing codeception/stub (2.1.0): Loading from cache - Installing behat/gherkin (v4.6.0): Loading from cache - Installing symfony/dom-crawler (v3.4.30): Loading from cache - Installing symfony/css-selector (v3.4.30): Loading from cache - Installing symfony/browser-kit (v3.4.30): Loading from cache - Installing symfony/event-dispatcher (v3.4.30): Loading from cache - Installing symfony/debug (v3.4.30): Loading from cache - Installing symfony/console (v3.4.30): Loading from cache - Installing symfony/finder (v3.4.30): Loading from cache - Installing ralouphie/getallheaders (3.0.3): Loading from cache - Installing psr/http-message (1.0.1): Loading from cache - Installing guzzlehttp/psr7 (1.6.1): Loading from cache - Installing codeception/base (2.5.6): Loading from cache - Installing codeception/verify (0.3.3): Loading from cache phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0) phpdocumentor/reflection-docblock suggests installing erusev/parsedown (~1.0) facebook/graph-sdk suggests installing guzzlehttp/guzzle (Allows for implementation of the Guzzle HTTP client) paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.) ramsey/uuid suggests installing ircmaxell/random-lib (Provides RandomLib for use with the RandomLibAdapter) ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium extension for use with the SodiumRandomGenerator) ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator) ramsey/uuid suggests installing moontoast/math (Provides support for converting UUID to 128-bit integer (in string form).) ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as Doctrine field type.) ramsey/uuid suggests installing ramsey/uuid-console (A console application for generating UUIDs with ramsey/uuid) imagine/imagine suggests installing ext-imagick (to use the Imagick implementation) imagine/imagine suggests installing ext-gmagick (to use the Gmagick implementation) phpunit/php-code-coverage suggests installing ext-xdebug (^2.6.0) sebastian/global-state suggests installing ext-uopz (*) phpunit/phpunit suggests installing phpunit/php-invoker (^2.0) phpunit/phpunit suggests installing ext-xdebug (*) symfony/browser-kit suggests installing symfony/process symfony/event-dispatcher suggests installing symfony/dependency-injection symfony/event-dispatcher suggests installing symfony/http-kernel symfony/console suggests installing symfony/lock symfony/console suggests installing symfony/process guzzlehttp/psr7 suggests installing zendframework/zend-httphandlerrunner (Emit PSR-7 responses) codeception/base suggests installing aws/aws-sdk-php (For using AWS Auth in REST module and Queue module) codeception/base suggests installing codeception/specify (BDD-style code blocks) codeception/base suggests installing codeception/phpbuiltinserver (Start and stop PHP built-in web server for your tests) codeception/base suggests installing flow/jsonpath (For using JSONPath in REST module) codeception/base suggests installing phpseclib/phpseclib (for SFTP option in FTP Module) codeception/base suggests installing league/factory-muffin (For DataFactory module) codeception/base suggests installing league/factory-muffin-faker (For Faker support in DataFactory module) codeception/base suggests installing symfony/phpunit-bridge (For phpunit-bridge support) codeception/base suggests installing stecman/symfony-console-completion (For BASH autocompletion) Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead. Writing lock file Generating autoload files [root@iZ942k2d5ezZ test]#
可以放大浏览器,查看图片内容
https://github.com/fecshop/yii2_fecshop/blob/master/services/cms/StaticBlock.php#L67
1.你想让他在哪里显示,就在哪里调用
2.安装测试数据后,测试数据里面有这个home-big-img, 进行了调用
home-big-img
3.自己多动手研究。你这个问题,搜索一下,应该也能找到相应文件 grep -Hnr --color 'home-big-img' <fecshop>
grep -Hnr --color 'home-big-img' <fecshop>
研究这个,是为了解决在线安装插件的问题
文件配置和数据库配置,在初始化组件的时候,先初始化db component,然后将数据库中取出来的配置数组和配置文件数组进行合并, 然后再初始化其他的组件component和其他配置
db
配置数组
配置文件数组
组件component
@nimingjun #1楼
嗯,现在是fecmall-2.x 版本,这个地方进行了重构
@nimingjun #2楼 论坛搜贴解决
没有执行migrate,或者执行失败
http://www.fecmall.com/doc/fecshop-guide/develop/cn-2.0/guide-fecshop-2-about-hand-install.html
2.3初始化Mysql数据库
./yii migrate --interactive=0 --migrationPath=@fecshop/migrations/mysqldb
说点其他的:
1.注册商标需要公司承载,如果上班不方便,可以用家人注册公司
2.如果和别人合伙开公司,如果是法人,一定要注意,需要承担法律责任的,如果退出了,一定要做法人变更,或者注销公司,公司的章一定不能丢
我吃过亏,之前和别人搞的青岛麦神网络,退出后,法人变更只签订了协议,因为其他的事情耽搁了,没有去工商局变更,最后雷X搞出来官司,然后我被列入了失信人名单,雷X啥也不管,最后我解决的这个官司,花了一年的时间,这是我吃过的亏
最近再忙活Fecshop-2.1版本,很多文件配置都添加到后台配置,这个周忙活完,就继续开发Fecmall
上面的这个图,颜色尺码,可以使用属性组对应的值,也可以添加其他的值。
这个用起来和淘宝后台挺像的,不过每一个颜色尺码sku,是一行数据,如果5个颜色,5个尺码,生成出来是25行产品数据。
1.首先FecMall是商用付费授权的,后面代码将不放到github上面
2.会全部mysql实现,同时也支持mongodb,Fecmall是基于Fecshop,以扩展的方式开发的新系统
3.是的,去掉淘宝模式,这个模式不够严谨,处理起来不是很好
4.Fecmall计划10.1号完成,现在预售1999,后续会涨价/
5.你发的图片的处理,可以用JD模式处理的,Fecshop加入了批量添加JD产品功能
@cathay #12楼
文档难免有疏漏,这是github 文档地址:https://github.com/fecshop/yii2_fecshop_doc
发现疏漏的地方,请发一下PR
参看帖子: http://www.fecshop.com/topic/2006
@nimingjun #23楼
http://www.fecshop.com/topic/2006
@skeek #2楼
这个帖子说的是什么?不看内容?
1.Fecshop版本
npm run build 试试,看看报错,我测试了一下没有问题
npm run build
自己尝试解决一下。
2.FecMall这个是需要商用授权,目前还在开发中,后续源代码将不在开放
1.上面已经和你说清楚原理了,你去查一下文件
2.可以贴一下你的配置文件内容
vendor/fancyecommerce/fecshop/config/services/Cache.php
appfront/config/fecshop_local_services/Cache.php
将里面出现的enable配置参数去掉
https://github.com/fecshop/yii2_fecshop/blob/master/config/services/Payment.php#L134
'wxpayJsApi' => [ //注意参数要与WxPay.Config中的一致 'class' => 'fecshop\services\payment\WxpayJsApi', 'devide' => 'wap', // 微信的授权信息在下面的文件中,因为微信支付php sdk的配置是写到常量文件中,因此只能这样了,无法通过注入的方式写入,具体的配置到下面的文件中进行配置。 'configFile' => '@common/config/payment/wxpay/lib/WxPay.Config.php', ],