123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- export class user_data{
- token:string; //用户token
- open_id:string; //open_id
- user_id:number; //用户id
- user_name:string; //名字
- avatar_url:string; //头像
- coin:number; //金币
- is_vip:boolean; //0:否 1:是
- vip_effective_time:string; //vip时间字符串
- vip_effective_time_time:number; //vip时间戳
- }
- export class bookstore_template_data {
- name:string; //名字
- template_type:number; //模版类型 1:banner 2:横版三封面 3:竖版三封面 4:竖版列表 5:搜索
- list:[];
- }
- export class banner_data {
- id:number;
- name:string;
- cover:string;
- jump_id:number;
- jump_type:number;
- }
- export class chapter_item_data{
- coin:number; //消耗
- id:number;
- name:string;
- pay_type:number; //1收费 0 免费
- word_count:number;
- }
- export class user_status{
- cur_select_book_data:book_item_data;
- }
- export class read_setting_data{
- fontSizeIndex:number;
- colorBgIndex:number;
- readMode:number;
- autoBuyNextChpater:boolean;
- }
- export class read_record_data {
- book_id:number;
- chapter_id:number;
- chapter_name:string;
- }
- export class book_read_data{
- book_title:string;
- book_content:string;
- book_chapter_id:number;
- book_chapter_name:string;
- }
- export class chapter_list_item{
- name:string; //章节名称
- id:number; //章节ID
- word_count:number; //字数
- coin:number; //金币
- pay_type:number; //是否收费 1 收费 0 免费
- }
- export class book_item_data{
- book_id:number; //书籍ID
- wx_book_id:string; //书籍ID
- book_name:string; //书籍名称
- author_name:string; //作者
- book_cover:string; //封面
- book_brief:string; //简介
- book_is_action:number; //0:连载 1:完结 2:断更
- book_score:number; //分数
- category_id:number; //分类ID
- category_name:string; //分类名字
- is_delete:number; //是否删除
- create_at:string; //创建时间
- book_read_num:number; // 阅读数量
- chapter_new_name:string; // 章节最新更新名称
- pay_type:number; // 是否收费 1 收费 0 免费
- chapter_count:number; // 章节总数
- update_time:string; // 更新时间
- source_id:number; // 来源ID
- chapter_time:string; // 章节更新时间
- chapter_time_time:number; // 章节更新时间戳
- word_count:number; // 字数
- chapter_path:string; // 章节列表静态地址
- base_path:string; //章节内容静态地址-需要拼接章节id 例如 /test_books/0/1/1.txt
- start_read_chapter_id:number = -1; //
- read_hisroty_time:string='';//阅读时间
- first_two_chapters:string; //第一章第二章列表
- }
- export class recharge_list_data {
- goods_id:number; // 商品ID
- name:string; //名称
- amount:number; //金额 单位(分)
- coin:number; //充值金币
- give_coin:number; //赠送金币
- prompt1:string; //描述
- day:number; //天数
- base_angle:string; //底角描述
- is_vip:number; //是否vip 1 是 0 否
- is_default:number; //默认状态 1 默认 0 否
- }
- export class order_data {
- order_id:string; //订单ID
- pay_url:string; //支付地址
- }
- export class order_info_data {
- status:number; //订单状态 1 支付中 2 已经支付
- }
- export class search_item_data {
- name:string;
- }
- export interface wx_pay_data{
- timeStamp:string,
- nonceStr:string,
- package:string,
- paySign:string,
- signType:string,
- }
- export class order_status_info_data {
- title:string = '';
- bg_color:string = '';
- }
- export class trading_record_item_data {
- id:number;
- amount:number;
- coin:number;
- goods_name:string;
- pay_time:string;
- create_at:string;
- status:number;
- book_name:string;
- chapter_name:string;
- }
|