ECJiaWiki:Version 1.32.0

来自ECJiaWiki
跳转至: 导航搜索

更新版本

v1.32.0

20190531572

更新内容

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

【平台/商家后台】

  1. 【平台】优化商品库商品添加/编辑商品重量和单位存储处理;
  2. 【平台】修复商品库商品点击预览报错的问题;
  3. 【平台】修复普通商品点击商品图跳转问题;
  4. 【平台】修复商品库商品预览商品重量显示的问题;
  5. 【商家】优化普通商品添加/编辑、商品库商品导入商品重量和单位存储处理;
  6. 【商家】优化后台运费模板设置上门取货快递选择取货时间段问题;
  7. 【商家】修复商品分类为空的时候,点击报错的问题;
  8. 【商家】修复后台找回密码安全验证问题;

【PC】

  1. 【优化】到家PC,会员中心,大商创模版,商家后台头条对接收参数进行过滤;

【接口】

  1. 【优化】运费计算重量涉及地方处理;
  2. 【优化】废弃接口中涉及对平台管理员数据有操作的相关接口和逻辑;

更新文件

M	content/apps/api/classes/Controllers/IndexController.php
M	content/apps/cart/classes/CartFlow/CartStoreShipping.php
M	content/apps/cart/classes/cart.class.php
M	content/apps/cart/modules/admin/bonus/validate_module.class.php
M	content/apps/cart/modules/admin/flow/checkOrder_module.class.php
M	content/apps/cart/modules/admin/flow/done_module.class.php
M	content/apps/cart/modules/storebuy/flow/done_module.class.php
M	content/apps/cart/modules/storepickup/flow/done_module.class.php
M	content/apps/cashier/modules/admin/cashier/pendorder/delete_module.class.php
M	content/apps/cashier/modules/admin/cashier/pendorder/list_module.class.php
M	content/apps/cashier/modules/admin/cashier/quickpay/order/payConfirm_module.class.php
A	content/apps/cron/classes/Controllers/CronRunController.php
M	content/apps/cron/classes/hooks/route_cron.class.php
M	content/apps/express/modules/admin/express/express/list_module.class.php
M	content/apps/express/modules/admin/express/user/location_module.class.php
M	content/apps/express/modules/express/detail_module.class.php
M	content/apps/express/modules/express/grab_list_module.class.php
M	content/apps/express/modules/express/grab_module.class.php
M	content/apps/express/modules/express/pickup_module.class.php
M	content/apps/express/modules/express/user/checkin_module.class.php
M	content/apps/express/modules/express/user/info_module.class.php
M	content/apps/express/modules/express/user/location_module.class.php
M	content/apps/favourable/modules/admin/favourable/delete_module.class.php
M	content/apps/favourable/modules/admin/favourable/info_module.class.php
M	content/apps/favourable/modules/admin/favourable/list_module.class.php
M	content/apps/favourable/modules/admin/favourable/manage_module.class.php
M	content/apps/goods/admin.php
M	content/apps/goods/apis/goods_seller_goods_category_api.class.php
M	content/apps/goods/classes/GoodsSearch/Filters/StoreIdAndMerchantCatId.php
A	content/apps/goods/classes/GoodsSearch/Formats/GoodsAdminApiFormatted.php
A	content/apps/goods/classes/GoodsSearch/GoodsAdminApiCollection.php
M	content/apps/goods/merchant.php
M	content/apps/goods/mh_category.php
M	content/apps/goods/modules/admin/goods/add_module.class.php
M	content/apps/goods/modules/admin/goods/brand_module.class.php
M	content/apps/goods/modules/admin/goods/category/add_module.class.php
M	content/apps/goods/modules/admin/goods/category/delete_module.class.php
M	content/apps/goods/modules/admin/goods/category/detail_module.class.php
M	content/apps/goods/modules/admin/goods/category/show_module.class.php
M	content/apps/goods/modules/admin/goods/category/update_module.class.php
M	content/apps/goods/modules/admin/goods/category_module.class.php
M	content/apps/goods/modules/admin/goods/desc_module.class.php
M	content/apps/goods/modules/admin/goods/detail_module.class.php
M	content/apps/goods/modules/admin/goods/gallery/add_module.class.php
M	content/apps/goods/modules/admin/goods/gallery/delete_batch_module.class.php
M	content/apps/goods/modules/admin/goods/gallery/delete_module.class.php
M	content/apps/goods/modules/admin/goods/gallery/sort_module.class.php
M	content/apps/goods/modules/admin/goods/list_module.class.php
M	content/apps/goods/modules/admin/goods/merchant/category/add_module.class.php
M	content/apps/goods/modules/admin/goods/merchant/category/delete_module.class.php
M	content/apps/goods/modules/admin/goods/merchant/category/detail_module.class.php
M	content/apps/goods/modules/admin/goods/merchant/category/list_module.class.php
M	content/apps/goods/modules/admin/goods/merchant/category/show_module.class.php
M	content/apps/goods/modules/admin/goods/merchant/category/update_module.class.php
M	content/apps/goods/modules/admin/goods/move/category_module.class.php
M	content/apps/goods/modules/admin/goods/promote/add_module.class.php
M	content/apps/goods/modules/admin/goods/promote/delete_module.class.php
M	content/apps/goods/modules/admin/goods/promote/update_module.class.php
M	content/apps/goods/modules/admin/goods/restore_module.class.php
M	content/apps/goods/modules/admin/goods/toggle/free_shipping_module.class.php
M	content/apps/goods/modules/admin/goods/toggle/gifts_module.class.php
M	content/apps/goods/modules/admin/goods/toggle/sale_module.class.php
M	content/apps/goods/modules/admin/goods/toggle/suggest_module.class.php
M	content/apps/goods/modules/admin/goods/togglesale_module.class.php
M	content/apps/goods/modules/admin/goods/trash/list_module.class.php
M	content/apps/goods/modules/admin/goods/trash_module.class.php
M	content/apps/goods/modules/admin/goods/update_module.class.php
M	content/apps/goods/modules/admin/goods/updatedesc_module.class.php
M	content/apps/goods/modules/admin/goods/updateprice_module.class.php
M	content/apps/goods/templates/admin/goods_list.dwt.php
M	content/apps/goods/templates/admin/preview.dwt.php
M	content/apps/goods/templates/merchant/category_list.dwt.php
M	content/apps/goods/templates/merchant/preview.dwt.php
M	content/apps/goodslib/admin.php
M	content/apps/goodslib/classes/GoodsImage/Goods/GoodsGallery.php
M	content/apps/goodslib/classes/GoodsImage/Goods/GoodsImage.php
M	content/apps/goodslib/classes/GoodsImage/Goods/GoodsThumb.php
M	content/apps/goodslib/classes/GoodsImage/Product/ProductGallery.php
M	content/apps/goodslib/classes/GoodsImage/Product/ProductImage.php
M	content/apps/goodslib/classes/GoodsImage/Product/ProductThumb.php
M	content/apps/goodslib/classes/GoodslibBasicInfo.php
M	content/apps/goodslib/classes/GoodslibProductsBasicInfo.php
M	content/apps/goodslib/classes/goodslib.class.php
M	content/apps/goodslib/merchant.php
M	content/apps/goodslib/templates/admin/preview.dwt.php
M	content/apps/goodslib/templates/merchant/preview.dwt.php
M	content/apps/logviewer/admin.php
D	content/apps/logviewer/classes/logviewer_installer.class.php
D	content/apps/logviewer/languages/en_US/logviewer.lang.php
A	content/apps/logviewer/languages/en_US/logviewer.mo
A	content/apps/logviewer/languages/en_US/logviewer.po
D	content/apps/logviewer/languages/zh_CN/logviewer.lang.php
A	content/apps/maintain/classes/Commands/CompileConfigCache.php
A	content/apps/maintain/classes/Commands/CompileFrameworkOptimize.php
M	content/apps/merchant/classes/ecjia_merchant.class.php
M	content/apps/merchant/modules/admin/merchant/account/info_module.class.php
M	content/apps/merchant/modules/admin/merchant/account/validate_module.class.php
M	content/apps/merchant/modules/admin/merchant/info_module.class.php
M	content/apps/merchant/modules/admin/merchant/refreshQrcode_module.class.php
M	content/apps/merchant/modules/admin/merchant/update_module.class.php
M	content/apps/mobile/modules/admin/home/data_module.class.php
M	content/apps/mobile/modules/admin/shop/attach/add_module.class.php
M	content/apps/notification/modules/admin/merchant/notification/read_module.class.php
M	content/apps/notification/modules/admin/merchant/notification/unread_count_module.class.php
M	content/apps/notification/modules/admin/merchant/notification_module.class.php
A	content/apps/orders/apis/orders_order_cashier_operate_api.class.php
M	content/apps/orders/modules/admin/orders/cancel_module.class.php
M	content/apps/orders/modules/admin/orders/check_module.class.php
M	content/apps/orders/modules/admin/orders/consignee/list_module.class.php
M	content/apps/orders/modules/admin/orders/delivery_module.class.php
M	content/apps/orders/modules/admin/orders/detail_module.class.php
M	content/apps/orders/modules/admin/orders/express_module.class.php
M	content/apps/orders/modules/admin/orders/list_module.class.php
M	content/apps/orders/modules/admin/orders/operate/cancel_module.class.php
M	content/apps/orders/modules/admin/orders/operate/cancelgrab_module.class.php
M	content/apps/orders/modules/admin/orders/operate/consignee_module.class.php
M	content/apps/orders/modules/admin/orders/operate/delivery_module.class.php
M	content/apps/orders/modules/admin/orders/operate/money_module.class.php
M	content/apps/orders/modules/admin/orders/operate/pay_module.class.php
M	content/apps/orders/modules/admin/orders/operate/shipping_detail_module.class.php
M	content/apps/orders/modules/admin/orders/operate/shipping_module.class.php
M	content/apps/orders/modules/admin/orders/operate/unused-setgrab_module.class.php
M	content/apps/orders/modules/admin/orders/payConfirm_module.class.php
M	content/apps/orders/modules/admin/orders/payment/history_module.class.php
M	content/apps/orders/modules/admin/orders/quickpay_module.class.php
M	content/apps/orders/modules/admin/orders/receive_module.class.php
M	content/apps/orders/modules/admin/orders/refundConfirm_module.class.php
M	content/apps/orders/modules/admin/orders/shipping/list_module.class.php
M	content/apps/orders/modules/admin/orders/split_module.class.php
M	content/apps/orders/modules/admin/orders/today_module.class.php
M	content/apps/orders/modules/admin/orders/update_module.class.php
M	content/apps/orders/modules/admin/stats/order_sales_module.class.php
M	content/apps/orders/modules/admin/stats/orders_module.class.php
M	content/apps/orders/modules/admin/stats/payment_module.class.php
M	content/apps/orders/modules/admin/stats/sales_module.class.php
M	content/apps/orders/modules/admin/stats/salesdetails_module.class.php
M	content/apps/payment/modules/admin/payment/cancelpay_module.class.php
M	content/apps/payment/modules/admin/payment/scancode_module.class.php
M	content/apps/platform/classes/Frameworks/EcjiaPlatform.php
M	content/apps/promotion/modules/admin/promotion/delete_module.class.php
M	content/apps/promotion/modules/admin/promotion/detail_module.class.php
M	content/apps/promotion/modules/admin/promotion/list_module.class.php
M	content/apps/promotion/modules/admin/promotion/manage_module.class.php
M	content/apps/shipping/statics/js/merchant_express.js
M	content/apps/shipping/templates/merchant/library/shipping_info.lbi.php
M	content/apps/staff/get_password.php
M	content/apps/staff/modules/admin/user/account/update_module.class.php
M	content/apps/staff/modules/admin/user/bind_module.class.php
M	content/apps/staff/modules/admin/user/info_module.class.php
D	content/apps/staff/modules/admin/user/password_module.class.php
M	content/apps/staff/modules/admin/user/rank_module.class.php
M	content/apps/staff/modules/admin/user/search_module.class.php
D	content/apps/staff/modules/v2/admin/user/forget_request_module.class.php
D	content/apps/staff/modules/v2/admin/user/forget_validate_module.class.php
M	content/apps/staff/modules/v2/admin/user/signin_module.class.php
M	content/apps/staff/modules/v2/admin/user/update_module.class.php
M	content/apps/staff/modules/v2/admin/user/userinfo_module.class.php
M	content/apps/store/admin.php
M	content/apps/toutiao/merchant.php
M	content/apps/toutiao/mh_menu.php
M	content/apps/ucclient/classes/Controllers/UcController.php
M	content/apps/user/modules/admin/user/account/payConfirm_module.class.php
D	content/apps/user/modules/admin/user/forget_request_module.class.php
D	content/apps/user/modules/admin/user/forget_validate_module.class.php
D	content/apps/user/modules/admin/user/signin_module.class.php
D	content/apps/user/modules/admin/user/userinfo_module.class.php
M	content/bootstrap/cache/compiled.php
M	content/bootstrap/cache/config.php
M	content/bootstrap/cache/services.json
M	content/configs/api.php
M	content/configs/compile.php
M	content/configs/facade.php
M	content/configs/release.php
A	content/database/migrations/2019_05_30_091041_create_meta_table.php
A	content/database/patchs/v1.32.0/Version_13200.php
A	content/database/patchs/v1.32.0/readme.txt
D	content/system/admin_logs.php
M	content/system/admin_message.php
M	content/system/admin_role.php
M	content/system/classes/Admins/RememberPassword/RememberPassword.php
M	content/system/classes/Admins/Users/AdminUserModel.php
A	content/system/classes/Admins/Users/Password.php
A	content/system/classes/BaseController/BasicController.php
A	content/system/classes/Controllers/AdminLogsController.php
A	content/system/classes/Controllers/AdminMessageController.php
M	content/system/classes/Http/Kernel.php
A	content/system/classes/Http/Middleware/VerifyCsrfToken.php
A	content/system/classes/Models/AdminLogModel.php
A	content/system/classes/Models/AdminMessageModel.php
A	content/system/classes/Models/RoleModel.php
M	content/system/classes/admin/ecjia_admin_message.class.php
M	content/system/classes/ecjia.class.php
M	content/system/classes/ecjia_admin.class.php
M	content/system/classes/ecjia_front.class.php
M	content/system/get_password.php
M	content/system/index.php
M	content/system/privilege.php
M	content/system/start/bootstrap.php
M	content/system/start/command.php
M	content/system/templates/admin_logs.dwt.php
M	content/system/templates/login.dwt.php
M	content/system/templates/message_list.dwt.php
M	content/themes/ecjia-pc/extras/controller/goods_controller.php
M	content/themes/ecjia-pc/extras/controller/merchant_controller.php
M	content/themes/ecjia-pc/extras/controller/pc_controller.php
M	sites/help/content/themes/default/extras/controller/article_controller.php
M	vendor/composer/autoload_namespaces.php
M	vendor/royalcms/config/Royalcms/Component/Config/Resources/coreservice.php
M	vendor/royalcms/default-route/Royalcms/Component/DefaultRoute/DefaultRoute.php
M	vendor/royalcms/default-route/Royalcms/Component/DefaultRoute/DefaultRouteController.php
M	vendor/royalcms/default-route/Royalcms/Component/DefaultRoute/DefaultRouteServiceProvider.php
A	vendor/royalcms/default-route/Royalcms/Component/DefaultRoute/DefaultRouteTrait.php
M	vendor/royalcms/default-route/Royalcms/Component/DefaultRoute/HttpQueryRoute.php
M	vendor/royalcms/foundation/Royalcms/Component/Foundation/Console/ConfigCacheCommand.php
M	vendor/royalcms/foundation/Royalcms/Component/Foundation/Helpers/royalcms-helpers.php
M	vendor/royalcms/foundation/Royalcms/Component/Foundation/Royalcms.php
M	vendor/royalcms/native-session/Royalcms/Component/NativeSession/Store.php
M	vendor/royalcms/purifier/Royalcms/Component/Purifier/helpers.php
M	vendor/royalcms/queue/Royalcms/Component/Queue/Console/SubscribeCommand.php
M	vendor/royalcms/script/Royalcms/Component/Script/Script.php
M	vendor/royalcms/script/Royalcms/Component/Script/Style.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/DynamicResponse.php
A	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Events/WorkerErrorInterface.php
A	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Events/WorkerStartInterface.php
A	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Events/WorkerStopInterface.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Inotify.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Process/CustomProcessInterface.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Request.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Response.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Server.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Socket/Http.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Socket/HttpInterface.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Socket/PortInterface.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Socket/TcpInterface.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Socket/TcpSocket.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Socket/UdpInterface.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Socket/UdpSocket.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Socket/WebSocket.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Socket/WebSocketInterface.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/StaticResponse.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Task/Event.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Task/Task.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Timer/CronJob.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Traits/CustomProcessTrait.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Traits/InotifyTrait.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Traits/LogTrait.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Traits/ProcessTitleTrait.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Traits/RoyalcmsTrait.php
M	vendor/royalcms/swoole/Royalcms/Component/Swoole/Swoole/Traits/TimerTrait.php
A	vendor/royalcms/tail/README.md
A	vendor/royalcms/tail/Royalcms/Component/Tail/TailCommand.php
A	vendor/royalcms/tail/Royalcms/Component/Tail/TailServiceProvider.php


需要手动删除的文件

D	content/apps/logviewer/classes/logviewer_installer.class.php
D	content/apps/logviewer/languages/en_US/logviewer.lang.php
D	content/apps/logviewer/languages/zh_CN/logviewer.lang.php
D	content/apps/staff/modules/admin/user/password_module.class.php
D	content/apps/staff/modules/v2/admin/user/forget_request_module.class.php
D	content/apps/staff/modules/v2/admin/user/forget_validate_module.class.php
D	content/apps/user/modules/admin/user/forget_request_module.class.php
D	content/apps/user/modules/admin/user/forget_validate_module.class.php
D	content/apps/user/modules/admin/user/signin_module.class.php
D	content/apps/user/modules/admin/user/userinfo_module.class.php
D	content/system/admin_logs.php

升级后必须执行的操作

  1. 升级后必须执行的操作:首先清除缓存,然后进入平台后台-工具-运维工具,依次点击【商品规格参数更新】-【商品上级分类数据同步】-【商品库规格参数更新】-【商品库上级分类数据同步】即可


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文件还存在,当程序运行的时候可能会导致异常,所以请按照升级文档,删除旧版本到家文件后,再上传新版本到家文件


升级注意事项

  • 到家 1.16.0 开始支持 PHP7.2,大家可以积极测试(请勿在正式环境部署),反馈一下在 PHP7.2 上运行的 bug,帮助我们更好地成长。查看错误日志方法: ECJia到家如何查看错误日志
  • 更新或者安装完成后,切记设置经营城市,否则无法正常使用:平台后台-商家管理-经营城市,记得设置城市别名,才能够正常显示
  • 更新完成后请务必清除浏览器缓存与模板缓存,可以手动删除缓存文件,在到家目录 content/storages 下,删除cachemetatemptemplate文件夹
Version deleteCache.png