mickeal / 报价
此包最新版本(1.0.3)没有可用的许可信息。
Mickael提供管理
1.0.3
2021-02-12 08:40 UTC
Requires
- php: >=7.1
- magento/framework: *
- magento/module-backend: *
- magento/module-store: *
Requires (Dev)
- phpunit/phpunit: ^5.3 || ^5.0
README
1. 使用composer安装
$ composer require "mickael/offers:1.0.3@dev"
2. 启用模块
php bin/magento module:enable Mickael_Offers
3. 执行设置
php bin/magento setup:upgrade
chmod 777 -R var/
php bin/magento setup:di:compile
php bin/magento ca:cl
4. 描述数据库以检查结构
mysql> describe mickael_offers;
+------------+------------------+------+-----+-------------------+-----------------------------+
| Field | Type | Null | Key | Default | Extra |
+------------+------------------+------+-----+-------------------+-----------------------------+
| offer_id | int(10) unsigned | NO | PRI | NULL | auto_increment |
| label | varchar(255) | NO | | | |
| image_path | varchar(255) | NO | | | |
| link | varchar(255) | NO | | | |
| categories | varchar(255) | NO | | | |
| start_date | timestamp | NO | | CURRENT_TIMESTAMP | |
| end_date | timestamp | NO | | CURRENT_TIMESTAMP | |
| created_at | timestamp | NO | | CURRENT_TIMESTAMP | |
| updated_at | timestamp | NO | | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
+------------+------------------+------+-----+-------------------+-----------------------------+
9 rows in set (0.00 sec)