litian
2024-03-05 8d0ae8ae8a29fc6f1ed8b929f3e97f37710eff70
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * @param {string|number} key 唯一值
 */
export function getActivity(key) {
  return {
    promotionId: `${key}`,
    title: `满减满折回归${key}`,
    description: null,
    promotionCode: 'MERCHANT',
    promotionSubCode: key % 2 === 0 ? 'MYJ' : 'MYG',
    tag: '满减',
    timeType: 1,
    startTime: '1588737710000',
    endTime: '1601467070000',
    teasingStartTime: null,
    activityLadder: [{ label: '满100元减99.9元' }],
  };
}