Project

General

Profile

Actions

追加功能 #490

closed
XF JZ

v4.0: Shipping Supplier (DHL,UPS,FEDEX) - Step 1

追加功能 #490: v4.0: Shipping Supplier (DHL,UPS,FEDEX) - Step 1

Added by Xihua Fan 5 months ago. Updated about 1 month ago.

Status:
已关闭
Priority:
普通
Assignee:
Target version:
IT: Easytryck (Sweden) - v4.0
Start date:
01/06/2026
Due date:
02/28/2026
% Done:

100%

Estimated time:
100.00 h

Description

Background
  1. Shipping Supplier(DHL,UPS,FEDEX)第三方的打通
Task Details
  • 1. Done: DHL,UPS,FEDEX:Tracking系统
    To-Do:DHL需要采用新的json格式,并支持UTC+8等时区格式。
  • 2. DHL:制单,报关系统
  • 3. UPS的OAuth好像26年4月1号有更新,移植的需要确认一下。
    On April 1, 2026, UPS will be reducing the OAuth token lifespan from 4 hours to 1 hour.
    This means that your API integration will need to generate a new access token every hour instead of every 4 hours to ensure uninterrupted access to the UPS APIs.
    To-Do:UPS,或者DHL/FEDEX是否需要强制切换到OAuth2。
v4 coding standard:
  1. Git提交
    #xxx(redmine number): xxx(redmine title) - xxx(任意:补充内容)
      
  2. 代码规范
    2.1: 结构:Public -> Protected -> Private
    2.2: 其他代码规范同SBX
      
  3. MVCL的v3/v4物理分割
    3.1: v3/v4的代码分为两个文件,比如: order.php, order_v3.php
    3.2: system也分为两个文件,暂时只有一个user_v3
    - Note: front的$this->user在v4中会替换为$this->customer, 即v4中需要清除$this->user
    3.3: 代码中,区分v3/v4的调用,比如:new User_V3
     
  4. 前台代码
    twig, js, css (js, css尽量写在单独的css文件中)
     
  5. 后台代码
    MVCL (L:en,cn)
     
  6. 注释
    1. 类名:
      /**
       * xxx
       *
       * @copyright RedBlue-OTS 2024
       * @version v4
       *
       */
      
    2. 函数名:参数类型 + 返回值类型
          /**
           * xxx
           *
           * @param  xxx $xxx
           * @param  xxx $xxx
           * @return xxx
           */
      
Output
  • Report and Solution

Others


Related issues 1 (1 open0 closed)

Related to 追加功能 #505: v4.0: Shipping Supplier (DHL,UPS,FEDEX) - Step 2进行中Junyi Zhang02/04/202603/06/2026

Actions

XF Updated by Xihua Fan 3 months ago Actions #1

  • Description updated (diff)
  • Due date changed from 12/29/2025 to 01/30/2026
  • Start date changed from 11/01/2025 to 12/29/2025

XF Updated by Xihua Fan 2 months ago Actions #2

  • Assignee changed from Zhongbao Ye to Junyi Zhang
  • Start date changed from 12/29/2025 to 01/06/2026

JZ Updated by Junyi Zhang 2 months ago Actions #3

  • % Done changed from 0 to 10

Output(2026/01/06 - 2025/01/09)

  1. Tracking detail :
    1. 桌面版:
      - Order list: 单击tracking number的超链接。单击前面的图标进行tracking info的filter筛选。
      - Order detail: 单击tracking number的超链接
    2. 手机版:
      - Order list: 单击:filter筛选。双击:tracking detail。(如果已经单击过进行筛选了, 则再次单击即可进入tracking detail)。
      - Order detail: 同桌面版
    3. Packing detail:
      - 显示该运单号的所有箱号,当前order product所在的箱号将会红色标记出来。
    4. Shipment updates
      - 时间:所有物流都是显示的是当地时间(即location列的所在地的时间)。(DHL在下一步需要替换为Restful,到时候需要补全UTC+XX:00信息)
      - 支持多语言
      - 支持进入对应的物流官网搜索:点击标题上的tracking number超链接
      - cache: 60s过期时间。 cache key(含config_language_id): redblue-ots.express.tracking.1.DHL.2551733052

XF Updated by Xihua Fan 2 months ago Actions #4

  • Description updated (diff)

XF Updated by Xihua Fan about 2 months ago Actions #5

  • Due date changed from 01/30/2026 to 02/28/2026

XF Updated by Xihua Fan about 1 month ago Actions #6

  • Subject changed from v4.0: Shipping Supplier (DHL,UPS,FEDEX) to v4.0: Shipping Supplier (DHL,UPS,FEDEX) - Step 1
  • Description updated (diff)

Output(2026/02/04)

  • 关闭此票,to-dos移交step 2

XF Updated by Xihua Fan about 1 month ago Actions #7

  • Status changed from 进行中 to 已关闭
  • % Done changed from 10 to 100

XF Updated by Xihua Fan about 1 month ago Actions #8

  • Related to 追加功能 #505: v4.0: Shipping Supplier (DHL,UPS,FEDEX) - Step 2 added
Actions

Also available in: PDF Atom