iOS美丽约网络请求分析登录配置UA请求响应url动态配置UI动态配置个人信息网络通讯配置(带key)音频录制配置上传图片配置(带key)定位配置视频录制背景音乐配置百度统计?(key)网址白名单动态配置发起约会的可选事件UI动态配置底部toolbar个人中心配置其他设置UI中使用字符串常量使用
序号 | 说明 |
---|---|
_ua | i,9.1,0,43,appstore,24f7971b1d8x235874c61e95391ca6e5,640,1136,0,cn,723431cc04094f264afd47fe61dfe09d |
__clttzaeiou | 33931343 |
idfa | 418C8R58-71D8-46A7-BF75-9CD698830180 |
carrier | 中国电信 |
last_sync_mtime | 0 |
open_type | 0 |
is_watch | 0 |
is_wifi | 1 |
可以看到统计到有UA,idfa,哪个运营商,是否为watchOS,是否为wifi
参数_ua
值i,9.1,0,43,appstore,24f7971b1d8x235874c61e95391ca6e5,640,1136,0,cn,723431cc04094f264afd47fe61dfe09d
大约有的字段有
可以动态配置请求的url,呵呵
"videoauth_url": "http://mapi.miliyo.com/auth_web/auth_video/?_sid=menu_my", "videoauth_url": "http://mapi.miliyo.com/auth_web/auth_video/?_sid=menu_my", "carauth_url": "http://mapi.miliyo.com/car/index/?_sid=menu_my",
"movie_manual_text": { "cinema_list": [ "选择地点", "地点由对方定", "我都可以", "任意影院" ], "show_list": [ "先约人", "约会时间不确定?", "约到人我买票", "先买票", "(购票表诚意)" ] },
"myinfo": { "uid": 32931341, "sex": 1, "is_videoauth": 0, "push_sound_time": "23,9", "face_url": "http://pic2.miliyo.com/mapi/i/noface/s1.png?gv=198_1", "big_face_url": "http://pic2.miliyo.com/mapi/i/noface/s1.png?gv=198_1", "nickname": "", "country": "CN", "location_prov": "地球", "location_city": "火星", "is_vip": 0, "vip_type": 0, "is_ssc": 0, "full_power": 100, "have_power": 100, "key_num": 5, "gold_num": 0, "age": 24, "vip_ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=198_1", "videoauth_photo_url": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=198_1", "videoauth_status": 0, "videoauth_status_1": "认证形象视频", "videoauth_status_2": "回头率大涨", "facevideo": { "button_1": { "text": "查看", "videoauth_url": "http://video2.miliyo.com/a/f6/84/f6844a671f9e1fa31d7d9d9d313c3821.mp4" }, "button_2": { "text": "修改", "videoauth_url": "http://mapi.miliyo.com/auth_web/auth_video/?_sid=menu_my" } }, "is_car_auth": 0, "carauth_status_1": "车辆未认证", "carauth_status_2": "点击认证" },
"socket": { "host": "58.215.161.200", "prot": 9000, "port": 9000, "timeout": 50000, "heartDelay": 60000, "reconnectDelay": 5000, "disablePushSound": false, "pushInterval": false, "loginString": "LOGIN,33931343,24f7971b1d8d235874c61e95391ca4e5,1,ce25a2337a0b40c99e1f011003f9c803" },
"audio": { "recordSampleRate": 8000, "recordQuality": 0, "recordChannel": 1, "encodeQuality": 2, "encodeSampleRate": 8000 },
"upload": { "uid": 33931343, "time": 1451879092, "key": "027edde5aec1529f37e54bf171983280", "params": { "width": 960, "height": 960, "quality": 0.5, "min_width": 480, "minResolution": 260 }, "chat_upload_params": { "width": 640, "height": 5000, "quality": 0.5, "min_width": 480, "minResolution": 160 }, "chat_socket_uploads": 1 },
"lbs": { "lbsPushInterval": 3, "minLngDiff": 0.0055, "minLatDiff": 0.0045, "desiredAccuracy": 100, "distanceFilter": 1000, "maxSecondsForCachedLocation": 30, "updatingTimeout": 5, "minAccuracy": 2000, "exMinAccuracy": 500, "exUpdatingTimeout": 8, "exDesiredAccuracy": 100, "renewInterval": 1800, "renewTimeoutAdd": 15, "desiredAccuracy2G": 1000, "distanceFilter2G": 1500, "maxSecondsForCachedLocation2G": 30, "updatingTimeout2G": 10, "minAccuracy2G": 2500, "exMinAccuracy2G": 1500, "exUpdatingTimeout2G": 15, "exDesiredAccuracy2G": 1000 },
"bgmusic": { "shortbg": [ { "title": "FunPack", "img": "http://pic2.miliyo.com/mapi/i/bgmusic/[email protected]?gv=138_1", "mp3": "http://pic2.miliyo.com/mapi/i/bgmusic/FunPack.mp3?gv=138_1" }, { "title": "Happiness", "img": "http://pic2.miliyo.com/mapi/i/bgmusic/[email protected]?gv=138_1", "mp3": "http://pic2.miliyo.com/mapi/i/bgmusic/Happiness.mp3?gv=138_1" } ] },
"baidu_key": "CDwvkWt2rdTBIGiKIeZ9CIpy"
"domain_white_list": [ "miliyo.com", "alipay.com", "paypal.com", "weibo.com", "qq.com", "dianping.com", "baidu.com", "google.com", "taobao.com", "niupai.com", "jjdd.com", "91.com", "apple.com", "kenmuqi.com", "mmzhibo.com" ],
"event_group": [ { "desc": "全部活动" }, { "desc": "看电影" } ],
"menu_bottom": [ { "id": "search_user", "default_open": 1, "desc": "首页", "type": 2, "action": "nearby", "data": { "url": "http://mapi.miliyo.com/search/nearby/", "title": "首页" }, "ico_type": 1, "ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1", "selected_ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1" }, { "id": "search_event_same_city", "desc": "邀约", "type": 2, "action": "event_list", "data": { "url": "http://mapi.miliyo.com/dating/index/", "title": "邀约" }, "ico_type": 1, "ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1", "selected_ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1" }, { "id": "attention", "desc": "动态", "type": 1, "action": "attention", "data": { "url": "http://mapi.miliyo.com/attention/index/?type=2&_sid=menu", "title": "动态" }, "ico_type": 1, "ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1", "selected_ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1" }, { "id": "my", "desc": "我的", "type": 2, "action": "my", "data": { "url": "http://mapi.miliyo.com/menu/my/", "title": "我的" }, "ico_type": 1, "ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1", "selected_ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1" } ],
"menu_my": [ [ { "id": "msg", "type": 2, "action": "chat_list", "desc": "消息", "ico_type": 1, "ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1" }, { "id": "comment", "type": 1, "action": "http://mapi.miliyo.com/attention/user_attention/?uid=33931343&_sid=menu", "desc": "随便说说", "ico_type": 1, "ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1" }, { "id": "visit", "type": 2, "action": "visit", "desc": "最近来访", "ico_type": 1, "ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1" } ], [ { "id": "my_event", "type": 2, "action": "my_event", "desc": "我的邀约", "ico_type": 1, "ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1" }, { "id": "account", "type": 1, "action": "http://mapi.miliyo.com/user/my_account/?_sid=menu", "desc": "我的账户", "ico_type": 1, "ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1" } ], [ { "id": "kiss", "type": 2, "action": "kiss", "desc": "啵一下", "ico_type": 1, "ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1" }, { "id": "find", "type": 1, "action": "http://mapi.miliyo.com/other/find/?_sid=menu", "desc": "发现", "ico_type": 1, "ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1", "has_new": 1 } ] ],
{ "sys_voice_translation": 1, "visit_new": 0, "msg_unread": 0, "publish_new": 0, "join_new": 0, "notification_unread": 1, "kiss_new": 0, "push_detail_hidden": 0, "push_visit": 1, "push_sex_event": 1, "fans_new": 0, "friend_new": 0, "fans_count": 0, "follow_count": 0, "attention_new": 0, "attention_com_new": 1, "kiss_count": 0, "http_interval": 180, "same_city_new": 0, "ok": 1, "menu": [], "tool_bar": [], "event_order_group": [ { "desc": "按发布时间", "order": "add_time" }, { "desc": "按距离", "order": "distance" } ], "chat_default": "voice", "menu_setting": { "id": "setting", "type": 1, "action": "http://mapi.miliyo.com/setting/index/", "desc": "设置", "ico_type": 1, "ico": "http://pic2.miliyo.com/mapi/i/menu/[email protected]?gv=138_1", "has_new": 0 }, "menu_attention": [ { "id": "attention_my", "is_default": 0, "data": { "url": "http://mapi.miliyo.com/attention/index/?type=1&_sid=my", "title": "关注" } }, { "id": "attention_plaza", "is_default": 1, "data": { "url": "http://mapi.miliyo.com/attention/index/?type=2&_sid=plaza", "title": "同城" } }, { "id": "attention_hot", "is_default": 0, "data": { "url": "http://mapi.miliyo.com/attention/index/?type=3&_sid=hot", "title": "推荐" } } ], "menu_dating": [ { "event_type": -1, "title": "全部" }, { "event_type": 5, "title": "旅行" }, { "event_type": 6, "title": "吃饭" }, { "event_type": 2, "title": "电影" }, { "event_type": 3, "title": "唱歌" }, { "event_type": 4, "title": "运动" }, { "event_type": 0, "title": "征婚", "event_group": 1 }, { "event_type": 0, "title": "其他", "event_group": 0 } ], "menu_board": null, "request_mtime": "1449287092148210", "default_search_type": "online", "default_dating_order": "0", "comment_new": 0 }
全部封装到一个网络请求中去了,呵呵,这样请求下来,保存到文件,还是保存到NSUserDefaults之类,达到动态调整提示文案。
{ "ok": 1, "lang": { "kMLYCore_CountsMinutesAgo": "分钟前", "kGIFT_TIP_GIRL_AGREE_GIVE_NUMBER": "若女生同意约会,系统将告知双方手机号", "kMSG_WAIT_REPLY_POP_CHOOSE_REPLY": "选择一句回复对方", "kPUBLIC_PLEASE_WAIT": "请稍等…", "kPHOTO_BROWSER_ALREADY_SAVED": "已保存", ... : .... "kAuthVideoUpdate_Tip_StartMliliyo": "^_^拍摄成功,视频将对外展示。您可以在“我的”页面里修改" } }