ECJiaWiki:Version 1.38.0

来自ECJiaWiki
跳到导航 跳到搜索

更新版本

v1.38.0

20210128628

更新内容

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

后台

  1. 【新增】平台后台添加红包类型开放;
  2. 【新增】定期删除购物车无用数据计划任务;
  3. 【优化】平台后台交易流水列表支付状态显示优化;
  4. 【优化】平台后台订单结算买单订单结算优化;
  5. 【优化】平台后台摇一摇活动添加红包奖励奖品;
  6. 【优化】平台后台自动取消订单和自动拒单计划任务优化;
  7. 【优化】自动取消订单计划任务优化,还原订单使用红包;
  8. 【优化】平台后台退款单详情商家确认收货时间显示增加判断;
  9. 【优化】平台后台编辑店铺信息及审核店铺店铺名称不超过20个字符;
  10. 【优化】平台后台给商家充值时,操作备注模块内的提示语优化;
  11. 【优化】距离计算请求第三方接口方式,RC_Mode用法修改;
  12. 【优化】缩略图支持来自OSS的生成;
  13. 【优化】店铺banner缩略图生成支持OSS;
  14. 【优化】商品货品预览;
  15. 【修复】平台后台交易流水列表按日期筛选问题修改;
  16. 【修复】平台后台商家结算,退款类型店铺明细账单生成问题修改;
  17. 【修复】平台后台店铺账单详情每日账单列表入账金额显示错误修改,去除日账单列表显示商家订单结算佣金比例;
  18. 【修复】平台后台计划任务自动取消订单商品库存还原;
  19. 【修复】平台后台添加红包,红包类型不对问题修改;
  20. 【新增】商家后台增加众包/商家配送订单自动发货开关设置;
  21. 【修复】商家后台退货退款申请首次被拒,用户重新申请后,平台后台退货退款单详情进度条出现商家确认收货时间问题处理;
  22. 【修复】阿里云插件,导致时区错位问题;
  23. 【修复】后台编辑器上传图片到阿里云OSS报不可写入问题;
  24. 【优化】商家后台团购活动添加保证金金额可设置小数;
  25. 【优化】商家后台收银台订单显示未支付和已退款的;
  26. 【优化】商家后台取消订单操作优化;
  27. 【优化】商家后台配送员添加页面,分组默认选中配送员分组;
  28. 【优化】商家后台退款单详情商家确认收货时间显示增加判断;
  29. 【优化】商家后台申请修改入驻信息限制店铺名称不超过20个字符;
  30. 【优化】商家后台到店购订单显示未支付和已退款的;
  31. 【优化】商家后台到店购使用余额支付更新订单为已完成;
  32. 【优化】商家后台促销逻辑调整(超出限购部分按原价,未超出的部分按促销价),涉及的用户端(添加、更新、删除、购物车列表重新计算价格),小票机(添加、更新、删除、购物车商品价格重新计算)等地方调整修改;
  33. 【优化】商家后台货品表添加store_id字段,涉及货品添加修改地方修改,货品条形码店铺唯一;商品条形码店铺唯一;
  34. 【优化】缩略图支持来自OSS的生成;
  35. 【优化】店铺banner缩略图生成支持OSS;
  36. 【优化】商品货品预览;
  37. 【修复】商家后台标记未读通知为已读报错修改;
  38. 【修复】商家后台退货退款申请首次被拒,用户重新申请后,商家后台退货退款单详情进度条出现商家确认收货时间问题处理;
  39. 【修复】商家后台拒绝签收货物售后申请单状态记录修改;
  40. 【修复】商家后台编辑参数模板报错修改;
  41. 【修复】商家后台商品排序修改失效修改;

H5端

  1. 【修复】同一件商品添加购物车结算后,再次添加购物车后,购物车显示添加了2件问题;
  2. 【修复】连续购买同一商品提示库存不足的问题;
  3. 【修复】购物车加减修改及订单提交完成,购物车加减仍选中问题;
  4. 【优化】首页团购和促销不增加缓存;

PC端

  1. 【新增】商家入驻协议;
  2. 【优化】商家申请入驻限制店铺名称不超过20个字符;
  3. 【修复】商品详情商品销量显示不对和店铺指定商品优惠活动在其他商品详情也显示问题处理;

小程序

  1. 【修复】进入订单列表点进一个订单里再返回,订单列表显示没有订单数量;
  2. 【修复】打开下程序首页查看推荐产品,刷新一次最底部推荐产品就会多一行;
  3. 【修复】分享商品给未登录小程序的好友时,好友打开并登录成功后,跳到首页的问题;

接口

  1. 【新增】订单物流查询传参;
  2. 【优化】推广二维码跳转地址修改跳转到h5推广页面;
  3. 【优化】删除、选中购物车定位判断优化;
  4. 【优化】收银台验单操作,记录订单状态日志记录;
  5. 【优化】收银台验单订单操作日志和商家后台验单订单操作日志同步一致;
  6. 【优化】货品价格变动,购物车货品价格更新优化;
  7. 【优化】店铺列表seller/list中店铺商品默认按商品排序显示;
  8. 【优化】首页及促销商品列表页,促销商品获取优化;
  9. 【优化】首页团购商品获取修改;
  10. 【优化】user/info/bankcard接口返回值兼容优化;
  11. 【优化】掌柜修改订单配送方式列表过滤到店配送方式;
  12. 【优化】掌柜取消订单接口优化,只有未支付订单可操作取消;
  13. 【优化】掌柜关闭订单接口优化,已支付订单关闭流程至退款商家同意;
  14. 【优化】用户端取消订单接口优化,只有未支付订单可操作取消;
  15. 【优化】用户中心可使用红包数不对修改及列表可使用红包获取优化;
  16. 【优化】掌柜订单详情操作日志记录返回优化;
  17. 【优化】货品表添加store_id字段,涉及货品添加修改地方修改,货品条形码店铺唯一;商品条形码店铺唯一;
  18. 【优化】掌柜订单详情接口,订单状态获取优化;
  19. 【优化】掌柜商家申请入驻及入驻申请信息修改接口限制店铺名称不超过20个字符;
  20. 【修复】后台修改商品价格,购物车商品价格未更新问题;
  21. 【修复】取消订单,货品库存还原;
  22. 【修复】收银台取消订单商品库存还原;
  23. 【修复】商品详情猜你喜欢商品数据(商品关联商品,显示条数根据店铺设置中关联商品显示条数展示);
  24. 【修复】掌柜修改订单配送方式,已发货订单不可修改配送方式;
  25. 【修复】文章评论;


更新文件

M	content/apps/affiliate/classes/GenerateInviteCode.php
M	content/apps/affiliate/modules/invite/user_module.class.php
M	content/apps/agent/admin.php
M	content/apps/article/classes/article_list.class.php
M	content/apps/article/modules/article/comment/create_module.class.php
M	content/apps/bonus/admin.php
M	content/apps/bonus/functions/admin_bonus.func.php
M	content/apps/bonus/templates/admin/bonus_type_info.dwt.php
M	content/apps/cart/apis/cart_cart_list_api.class.php
M	content/apps/cart/apis/cart_cart_manage_api.class.php
M	content/apps/cart/apis/cart_flow_done_api.class.php
M	content/apps/cart/classes/CartFunction.php
M	content/apps/cart/classes/StoreStatus.php
M	content/apps/cart/classes/cart.class.php
M	content/apps/cart/classes/cart_cashdesk.class.php
M	content/apps/cart/functions/cart.func.php
M	content/apps/cart/modules/cart/checked_module.class.php
M	content/apps/cart/modules/cart/create_module.class.php
M	content/apps/cart/modules/cart/delete_module.class.php
M	content/apps/cart/modules/flow/checkOrder_module.class.php
M	content/apps/cart/modules/storebuy/cart/create_module.class.php
M	content/apps/cart/modules/storepickup/flow/done_module.class.php
M	content/apps/cashier/modules/admin/cashier/flow/checkOrder_module.class.php
M	content/apps/cashier/modules/admin/cashier/flow/done_module.class.php
M	content/apps/commission/model/store_bill_detail_model.class.php
M	content/apps/commission/templates/admin/bill_detail.dwt.php
M	content/apps/commission/templates/admin/bill_list.dwt.php
M	content/apps/commission/templates/admin/bill_list_day.dwt.php
M	content/apps/commission/templates/admin/deposit_add.dwt.php
M	content/apps/commission/templates/admin/order_list.dwt.php
M	content/apps/express/admin_express.php
M	content/apps/express/apis/express_ecjiaauto_assign_expressOrder_api.class.php
M	content/apps/express/apis/express_o2oauto_assign_expressOrder_api.class.php
M	content/apps/express/mh_express.php
M	content/apps/express/model/orm_staff_user_model.class.php
M	content/apps/express/modules/admin/express/express/list_module.class.php
M	content/apps/express/modules/admin/shopkeeper/express/staff/add_module.class.php
M	content/apps/express/modules/admin/shopkeeper/express/staff/update_module.class.php
M	content/apps/franchisee/merchant.php
M	content/apps/franchisee/templates/merchant/franchisee.dwt.php
M	content/apps/goods/classes/Goods/GoodsBasicInfo.php
M	content/apps/goods/classes/GoodsActivity/GoodsPromotion.php
M	content/apps/goods/classes/GoodsFunction.php
M	content/apps/goods/classes/GoodsSearch/Formats/GoodsAdminFormatted.php
M	content/apps/goods/classes/GoodsSearch/Formats/GoodsApiFormatted.php
M	content/apps/goods/classes/Models/GoodsActivityModel.php
M	content/apps/goods/classes/Product/GoodsProductPrice.php
M	content/apps/goods/merchant.php
M	content/apps/goods/mh_gallery_product.php
M	content/apps/goods/mh_parameter.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/merchant/goods/add_module.class.php
M	content/apps/goods/modules/admin/merchant/goods/product/update_module.class.php
M	content/apps/goods/modules/admin/merchant/goods/specification/attribute/colorsetting_module.class.php
M	content/apps/goods/modules/admin/merchant/goods/update_module.class.php
M	content/apps/goods/modules/goods/category_module.class.php
M	content/apps/goods/modules/goods/detail_module.class.php
M	content/apps/goods/modules/goods/suggestlist_module.class.php
M	content/apps/goods/templates/merchant/goods_list.dwt.php
M	content/apps/groupbuy/merchant.php
M	content/apps/groupbuy/templates/merchant/group_buy_info.dwt.php
M	content/apps/market/admin.php
M	content/apps/market/modules/market/shake_module.class.php
M	content/apps/merchant/classes/StoreComponents/Banner/BannerThumb.php
M	content/apps/merchant/classes/ecjia_merchant.class.php
M	content/apps/merchant/merchant.php
M	content/apps/merchant/mh_franchisee.php
M	content/apps/merchant/modules/admin/merchant/account/info_module.class.php
M	content/apps/merchant/modules/admin/merchant/resignup_module.class.php
M	content/apps/merchant/modules/admin/merchant/signup_module.class.php
M	content/apps/merchant/modules/admin/shopkeeper/merchant/offline_module.class.php
M	content/apps/merchant/modules/admin/shopkeeper/merchant/online_module.class.php
M	content/apps/merchant/modules/merchant/goods/list_module.class.php
M	content/apps/merchant/modules/merchant/goods/storebuy/list_module.class.php
M	content/apps/merchant/modules/merchant/goods/storebuy/suggestlist_module.class.php
M	content/apps/merchant/modules/merchant/goods/suggestlist_module.class.php
M	content/apps/merchant/modules/seller/list_module.class.php
M	content/apps/merchant/templates/merchant/merchant_basic_info.dwt.php
M	content/apps/notification/mh_notification.php
M	content/apps/notification/model/orm_staff_user_model.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
M	content/apps/orders/apis/orders_user_account_paid_api.class.php
A	content/apps/orders/classes/OrderMerchantClosed.php
A	content/apps/orders/classes/OrderOperate/ConfirmedO2oAndEcjiaAutoShipping.php
M	content/apps/orders/classes/OrderPrint.php
M	content/apps/orders/classes/hooks/api_orders.class.php
M	content/apps/orders/classes/hooks/front_orders.class.php
M	content/apps/orders/classes/order_operate.class.php
M	content/apps/orders/functions/admin_order.func.php
M	content/apps/orders/merchant.php
M	content/apps/orders/mh_order_stats.php
M	content/apps/orders/model/orm_staff_user_model.class.php
M	content/apps/orders/model/orm_users_model.class.php
A	content/apps/orders/model/staff_user_model.class.php
A	content/apps/orders/modules/admin/merchant/orders/operate/close_module.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/detail_module.class.php
M	content/apps/orders/modules/admin/orders/operate/cancel_module.class.php
M	content/apps/orders/modules/admin/orders/operate/shipping_module.class.php
M	content/apps/orders/modules/admin/orders/shipping/list_module.class.php
M	content/apps/orders/modules/order/cancel_module.class.php
M	content/apps/orders/modules/order/detail_module.class.php
M	content/apps/orders/modules/order/express_module.class.php
M	content/apps/payment/functions/global.func.php
M	content/apps/refund/admin.php
M	content/apps/refund/admin_payrecord.php
M	content/apps/refund/apis/refund_merchant_confirm_api.class.php
M	content/apps/refund/classes/RefundStatusLog.class.php
M	content/apps/refund/merchant.php
M	content/apps/refund/modules/refund/detail_module.class.php
M	content/apps/refund/templates/admin/library/return_step.lbi.php
M	content/apps/refund/templates/admin/payrecord_detail.dwt.php
M	content/apps/refund/templates/merchant/library/return_step.lbi.php
M	content/apps/setting/modules/shop/config_module.class.php
M	content/apps/shipping/statics/css/merchant_express.css
M	content/apps/shipping/templates/merchant/library/shipping_info.lbi.php
M	content/apps/staff/merchant.php
M	content/apps/staff/templates/merchant/staff_customize.dwt.php
M	content/apps/store/admin.php
M	content/apps/store/admin_preaudit.php
M	content/apps/store/admin_store_business_city.php
M	content/apps/store/apis/store_admin_purview_api.class.php
M	content/apps/store/templates/admin/store_preview.dwt.php
M	content/apps/theme/classes/Components/GroupbuyGoods.php
M	content/apps/user/apis/user_user_bonus_list_api.class.php
M	content/apps/user/functions/admin_user.func.php
M	content/apps/user/modules/user/info/bankcard_module.class.php
M	content/apps/user/modules/user/signup_module.class.php
A	content/apps/wechat/modules/wechat/wxconfig_module.class.php
M	content/bootstrap/cache/compiled.php
M	content/configs/api.php
M	content/configs/release.php
M	content/configs/site.php
A	content/database/patchs/v1.38.0/Version_13800.php
A	content/database/patchs/v1.38.0/readme.txt
M	content/plugins/cron_order_auto_refuse/cron_order_auto_refuse.class.php
M	content/plugins/cron_unpayed/cron_unpayed.class.php
A	content/system/classes/Notifications/DatabaseNotification.php
A	content/system/classes/Notifications/NotifiableModel.php
A	content/system/classes/Notifications/Timestamp.php
M	content/system/classes/admin/ecjia_admin_notifiable.class.php
M	content/themes/ecjia-pc/extras/controller/goods_controller.php
M	content/themes/ecjia-pc/goods_show.dwt.php
M	sites/m/content/themes/h5/extras/classes/ecjia_open_handler.class.php
M	sites/m/content/themes/h5/extras/classes/ecjia_theme_controller.class.php
M	sites/m/content/themes/h5/extras/classes/utility/user_function.class.php
M	sites/m/content/themes/h5/extras/controller/cart_controller.php
M	sites/m/content/themes/h5/flow_pay_shipping.dwt.php
M	sites/m/content/themes/h5/goods_promotion_ajax.dwt.php
M	sites/m/content/themes/h5/goods_promotion_detail.dwt.php
M	sites/m/content/themes/h5/js/ecjia.touch.flow.js
M	sites/m/content/themes/h5/js/ecjia.touch.goods.js
M	sites/m/content/themes/h5/js/ecjia.touch.share.js
D	sites/m/content/themes/h5/js/jweixin-1.2.0.js
M	sites/m/content/themes/h5/library/model_groupbuy.lbi.php
M	sites/m/content/themes/h5/library/model_promotions.lbi.php
M	vendor/royalcms/storage/Royalcms/Component/Storage/Adapter/Aliyunoss.php


需要手动删除的文件

D	sites/m/content/themes/h5/js/jweixin-1.2.0.js

升级后必须执行的操作

  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