ECJiaWiki:Version 1.21.1

来自ECJiaWiki
跳转至: 导航搜索

更新版本

v1.21.1

20181008413

更新内容

EC+到家v1.21.1更新日志:

  1. 修复新用户注册时,绑定手机号的图形验证码,提示验证码错误;
  2. 修复我的-红包-使用说明打开报错;
  3. 修复发现页,点百宝箱报错;


更新文件

M	content/apps/api/classes/BaseControllers/EcjiaApi.php
M	content/apps/api/classes/BaseControllers/EcjiaApiAdminController.php
M	content/apps/api/classes/BaseControllers/EcjiaApiFrontController.php
M	content/apps/api/classes/LocalRequest/ApiManager.php
M	content/apps/api/configs/package.php
M	content/apps/article/configs/package.php
M	content/apps/article/mobile.php
M	content/apps/bonus/configs/package.php
D	content/apps/bonus/model/user_bonus_model.class.php
M	content/apps/cart/classes/cart.class.php
M	content/apps/cart/configs/package.php
D	content/apps/cart/model/user_bonus_model.class.php
M	content/apps/orders/configs/package.php
M	content/apps/orders/modules/admin/orders/list_module.class.php
A	content/apps/touch/classes/ApiRequest/ApiConst.php
A	content/apps/touch/classes/ApiRequest/ApiManager.php
A	content/apps/touch/classes/Compatible/ecjia_touch.php
A	content/apps/touch/classes/Compatible/ecjia_touch_api.php
A	content/apps/touch/classes/Compatible/ecjia_touch_manager.php
A	content/apps/touch/classes/Compatible/ecjia_touch_page.php
A	content/apps/touch/classes/Compatible/ecjia_touch_user.php
A	content/apps/touch/classes/Frameworks/Component/Page.php
A	content/apps/touch/classes/Frameworks/Component/User.php
A	content/apps/touch/classes/Frameworks/EcjiaTouch.php
M	content/apps/touch/classes/TouchServiceProvider.php
D	content/apps/touch/classes/ecjia_touch_api.class.php
D	content/apps/touch/classes/ecjia_touch_manager.class.php
D	content/apps/touch/classes/ecjia_touch_page.class.php
D	content/apps/touch/classes/ecjia_touch_user.class.php
D	content/apps/touch/classes/touch.class.php
D	content/apps/touch/classes/touch_installer.class.php
A	content/apps/touch/configs/class_autoload.php
M	content/apps/touch/configs/package.php
M	content/apps/touch/functions/functions.func.php
D	content/apps/touch/functions/showcase.func.php
D	content/apps/touch/functions/topic.func.php
A	content/apps/user/classes/Compatible/ecjia_user.php
A	content/apps/user/classes/Frameworks/EcjiaUser.php
M	content/apps/user/classes/UserServiceProvider.php
M	content/apps/user/configs/package.php
D	content/apps/user/model/user_bonus_model.class.php
M	content/apps/user/modules/user/account/pay_module.class.php
M	content/bootstrap/cache/compiled.php
M	content/bootstrap/cache/config.php
M	content/bootstrap/cache/services.json
M	content/bootstrap/classmap.php
M	content/configs/namespaces.php
M	content/configs/release.php
A	content/database/patchs/v1.21.1/Version_12101.php
A	content/database/patchs/v1.21.1/readme.txt
A	content/system/classes/Compatible/ecjia_base.php
A	content/system/classes/Compatible/ecjia_config.php
A	content/system/classes/Compatible/ecjia_error.php
A	content/system/classes/Frameworks/Requests/EcjiaFormRequest.php
M	content/system/classes/Providers/SystemServiceProvider.php
D	content/system/classes/ecjia_base.class.php
D	content/system/classes/ecjia_error.class.php
D	content/system/classes/ecjia_user.class.php
M	sites/m/content/themes/h5/extras/controller/mobile_controller.php
M	vendor/royalcms/framework/Royalcms/Component/Config/Resources/coreservice.php

需要手动删除的文件

D	content/apps/bonus/model/user_bonus_model.class.php
D	content/apps/cart/model/user_bonus_model.class.php
D	content/apps/touch/classes/ecjia_touch_api.class.php
D	content/apps/touch/classes/ecjia_touch_manager.class.php
D	content/apps/touch/classes/ecjia_touch_page.class.php
D	content/apps/touch/classes/ecjia_touch_user.class.php
D	content/apps/touch/classes/touch.class.php
D	content/apps/touch/classes/touch_installer.class.php
D	content/apps/touch/functions/showcase.func.php
D	content/apps/touch/functions/topic.func.php
D	content/apps/user/model/user_bonus_model.class.php
D	content/system/classes/ecjia_base.class.php
D	content/system/classes/ecjia_error.class.php
D	content/system/classes/ecjia_user.class.php


ECJia到家升级教程

完整包升级与补丁包升级区别

  • 程序没有二开的情况下建议使用完整包升级,程序进行二开后需使用补丁包升级,以免二开内容被覆盖
  • 程序升级不会影响原有数据
  • 使用完整包进行升级可以跨版本升级,使用补丁包升级必须依次升级
  • 补丁包下载地址(页面最下方):https://www.ecjia.com/download.html

授权插件注意事项

  • 升级完成后,需要重新上传插件,否则系统会报错,无法正常使用

升级的时候覆盖与删除替换的区别

举例:到家程序共有A、B、C三个文件、文件夹

  • 覆盖文件:A、B、C三个文件,上传新版本的A、B直接覆盖,会得到A、B、C
  • 删除后上传新文件: A、B、C三个文件,先删除然后上传新版本的A、B就会得到A、B
  • 在新版本中C文件已经被删除,使用覆盖文件操作升级的话C文件还存在,当程序运行的时候可能会导致异常,所以请按照升级文档,删除旧版本到家文件后,再上传新版本到家文件

升级注意事项

  • 本次升级【工具】-【运维工具】下新增2个工具:更新数据库结构、微信粉丝用户头像更换HTTPS。
  • 到家 1.16.0 开始支持 PHP7.2,大家可以积极测试(请勿在正式环境部署),反馈一下在 PHP7.2 上运行的 bug,帮助我们更好地成长。查看错误日志方法: ECJia到家如何查看错误日志
  • 后续版本将陆续不支持PHP5.4,请将快升级PHP版本,性能更好、更安全。
  • 更新或者安装完成后,切记设置经营城市,否则无法正常使用:平台后台-商家管理-经营城市,记得设置城市别名,才能够正常显示
  • 跟新完成后请务必清除浏览器缓存与模板缓存,可以手动删除缓存文件,在到家目录 content/storages 下,删除图中的7个文件夹
Version deleteCache.png