import type { User } from './user.d.ts'

// localStorage.setItem(
//   'userInfo',
//   JSON.stringify({ user_id: '326502', user_name: '0d64b733730047659532594d6f54f053', email: '', lastlogintime: '2022-09-05 23:10:37', regdate: '2022-09-05 23:10:37', status: '0', user_role_id: '75', user_role_name: '学校教师', user_avatar: { big: 'https://openapi.bozedu.net/template/default/static/img/avatar_teacher_big.png', middle: 'https://openapi.bozedu.net/template/default/static/img/avatar_teacher_middle.png', small: 'https://openapi.bozedu.net/template/default/static/img/avatar_teacher_small.png' }, user_no: { no_title: '工号', no: '' }, token: 'f0d5bP5miWx_b9_axeTdQKwTR5zUZLNJCa_bhcPWpbN5Sjsu_bIF34qXFDmxUjnBVtA1PcgFQtEfqoERraEeqMOuz9F_a3bI', user_realname: '曹俊峰.', user_phone: '', idcard: '', gender: '0', gender_char: '保密', qq: '', nationality: '', intro: '', address: '', education: '', area_info: { area_id1: '17', area_id2: '261', area_id3: '2844', area_id4: '0', area_id1_char: '湖北省', area_id2_char: '宜昌市', area_id3_char: '当阳市', area_id4_char: '', area_code1: '420000000000', area_code2: '420500000000', area_code3: '420582000000', area_code4: '', area_code_dist: '420582000000' }, sm_info: { sm_id: '739', adminid: '0', sm_name: '宜昌市当阳教育局', is_org: '1', up_org: '0', area_id1: '17', area_id2: '261', area_id3: '2844', area_id4: '0', major_mode: '0', powers: { vip_shiti: '0', vip_sucai: '0', vip_aicheck: '0' } }, cm_info: [], first_cm_id: '', first_cm_name: '', renke_grade: [], renke_subject: [], related_desc: '暂无任课', bind3rd: { wechat: '0' }, my_org: [], org_info: { org: null, org_id: null, telephone: '', telephone_short: '', is_org: '1', up_org: null, up_org_name: null, up_org_info: { sm_id: '', sm_name: '' } }, pan: { unit: 'G', size: '0', used: '0.00', desc: '无限制' }, user_ext: { ue_id: '', ue_tag: '', ue_badge: '', ue_badge_display: '', ue_xxmc: '', ue_xd: '', subject_id: '', subject_name: '', ue_wdkc: '', ue_gksl: '', ue_bgzs: '', ue_zyzsjs: '', ue_zym: '', ue_hot: '', ue_zy: '', ue_zgbh: '', ue_ryxx: '', ue_mzmc: '', ue_zzmmbh: '', ue_zzmmmc: '', ue_whcdbh: '', ue_whcdmc: '', ue_szzbbh: '', ue_szzbmc: '', ue_rdsj: '', ue_bzlxbh: '', ue_bzlxmc: '', ue_szdxzbh: '', ue_szdxzmc: '', ue_yynlbh: '', ue_yynlmc: '', ue_jzglbbh: '', ue_jzglbmc: '', ue_xlbj: '', ue_tc: '', ue_cym: '', ue_ssqybh: '', ue_ssqymc: '', ue_ssjyjbh: '', ue_ssjyjmc: '', ue_bmbh: '', ue_bmmc: '', ue_zwmc: '', grade_id: '', grade_name: '', jc_id: '', ue_jgbh: '', jc_name: '', ue_jgmc: '', ue_sfbzr: '', ue_sm_id: '', ue_mzbh: '' }, user_honor: [], user_working: [], user_family: [], update_center: 'https://openapi.bozedu.net', base_url: { aboutus: 'https://openapi.bozedu.net/aboutus', file: 'https://openapi.bozedu.net', vpn: 'http://openapi.bozedu.net', uc: 'https://uc.bozedu.net', yzy: 'https://yzy.bozedu.net', kzkt: 'https://openapi.bozedu.net', openapi: 'https://openapi.bozedu.net', site_zhkt_api: 'http://120.26.51.195:8008', yxxt: 'https://yxxt.bozedu.net' }, role_system: { kzkt: { code: 'kzkt', name: '空中课堂', icon: '', cate: '1', type: '1', url: 'https://openapi.bozedu.net' }, yzy: { code: 'yzy', name: '作业系统', icon: '', cate: '1', type: '1', url: 'https://yzy.bozedu.net' }, zhkt: { code: 'zhkt', name: '智慧课堂', icon: '', cate: '1', type: '2', url: 'http://120.26.51.195:8008/desadmin.php' } }, product: ['课堂', '直播', '作业'], app_url: { A119: 'https://qqyxt.m.bozedu.net/page/course/tskc_more.html', A120: 'https://qqyxt.m.bozedu.net/page/my/msg_hybrid.html?id=31', A121: 'https://qqyxt.m.bozedu.net/page/parent/msg.html', A122: 'https://qqyxt.m.bozedu.net/page/my/integral_hybrid.html', A123: 'https://qqyxt.m.bozedu.net/ktfx/xqbg.html', A124: 'https://qqyxt.m.bozedu.net/page/my/footPrint.html', A125: 'https://qqyxt.m.bozedu.net/page/my/intergralMall.html', A126: 'https://openapi.bozedu.net/component/ebook_main/public?api=html', A127: 'https://qqyxt.m.bozedu.net/Course_registration/transfer.html?v=1', A128: 'https://qqyxt.m.bozedu.net/Course_registration/transfer.html?type=course_after_service', A129: 'https://qqyxt.m.bozedu.net/ktfx/xqbg.html?tab=1', A130: 'https://qqyxt.m.bozedu.net/ktfx/xqbg.html?tab=2', A131: 'https://qqyxt.m.bozedu.net/ktfx/xqbg.html?tab=3', A132: 'https://qqyxt.m.bozedu.net/ktfx/xqbg.html?tab=4' } }),
// )

export const user: User = JSON.parse(localStorage.getItem('userInfo')!)
