123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- import { randomSelectOne, randomSelectN } from './utils';
- // mock ItemList
- let itemList= [];
- for (let i = 1; i < 400; i++) {
- itemList.push(
- {
- id: '525694229fb148afb3c10585964f9583' + i,
- subId: null,
- code: 'K-test-' + i,
- name: `音乐律动[sub]跟我一起做运动${i}`,
- digest: `简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介简介`,
- type: 'COURSE',
- status: 'SALE',
- cpId: 0,
- cpName: '鲨鱼公园',
- merchantId: 0,
- gmtCreated: 1512033359000,
- gmtModified: 1512033359000,
- tagList: [{
- id: 'da60114402734d2eb3ac6589ef25564d',
- code: 'T-test-301',
- name: '小学310',
- type: 'COURSE',
- merchantId: null,
- sort: null,
- status: 'NORMAL',
- gmtCreated: 1512032955000,
- gmtModified: 1512032955000,
- },{
- id: 'da60114402734d2eb3ac6589ef25564c',
- code: 'T-test-311',
- name: '小学310',
- type: 'COURSE',
- merchantId: null,
- sort: null,
- status: 'NORMAL',
- gmtCreated: 1511969532000,
- gmtModified: 1511969532000,
- }],
- priceList: [{
- id: 'ff808081600c2d6e01600c36171a0000',
- name: 'price-test-1',
- itemId: '525694229fb148afb3c10585964f9583',
- type: 'NORMAL',
- duration: 20,
- cpPrice: 1.0,
- merchantPrice: 2.0,
- terminalPrice: 4.0,
- status: null,
- gmtCreated: null,
- gmtModified: null,
- },{
- id:'ff808081600c2d6e01600c36171b0001',
- name:'test-1-month',
- itemId: '525694229fb148afb3c10585964f9583',
- type: 'NORMAL',
- duration: 20,
- cpPrice: 1.0,
- merchantPrice: 2.0,
- terminalPrice: 4.0,
- status: null,
- gmtCreated: null,
- gmtModified: null
- },{
- id: 'ff808081600c2d6e01600c36171e0003',
- name: 'test-1-month',
- itemId: '525694229fb148afb3c10585964f9583',
- type: 'NORMAL',
- duration: 30,
- cpPrice: 5.0,
- merchantPrice: 2.0,
- terminalPrice: 4.0,
- status: null,
- gmtCreated: null,
- gmtModified: null
- },{
- id: 'ff808081600c2d6e01600c36171d0002',
- name: 'test-1-month',
- itemId: '525694229fb148afb3c10585964f9583',
- type: 'NORMAL',
- duration: 100,
- cpPrice: 1.0,
- merchantPrice: 2.0,
- terminalPrice: 4.0,
- status: null,
- gmtCreated: null,
- gmtModified: null,
- }],
- }
- );
- }
- module.exports = {
- itemList,
- }
|