{"action":"created","issue":{"url":"https://api.github.com/repos/nuysoft/Mock/issues/62","labels_url":"https://api.github.com/repos/nuysoft/Mock/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/nuysoft/Mock/issues/62/comments","events_url":"https://api.github.com/repos/nuysoft/Mock/issues/62/events","html_url":"https://github.com/nuysoft/Mock/issues/62","id":77949038,"number":62,"title":"带有自定义函数的复杂JSON，使用Mock.mock时报错","user":{"login":"Bosn","id":1892986,"avatar_url":"https://avatars.githubusercontent.com/u/1892986?v=3","gravatar_id":"","url":"https://api.github.com/users/Bosn","html_url":"https://github.com/Bosn","followers_url":"https://api.github.com/users/Bosn/followers","following_url":"https://api.github.com/users/Bosn/following{/other_user}","gists_url":"https://api.github.com/users/Bosn/gists{/gist_id}","starred_url":"https://api.github.com/users/Bosn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bosn/subscriptions","organizations_url":"https://api.github.com/users/Bosn/orgs","repos_url":"https://api.github.com/users/Bosn/repos","events_url":"https://api.github.com/users/Bosn/events{/privacy}","received_events_url":"https://api.github.com/users/Bosn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-19T06:04:51Z","updated_at":"2015-06-02T09:14:59Z","closed_at":"2015-06-02T09:14:59Z","body":"请看看，某位客户的JSON，通过RAP生成了模板后，在Mock.mock时报错。\r\n\r\n```javascript\r\n{\r\n    \"extra\": {\r\n        \"page\": 1,\r\n        \"pagesize\": 20,\r\n        \"totalpage\": 1,\r\n        \"total\": 10\r\n    },\r\n    \"message\": \"\\u64cd\\u4f5c\\u6210\\u529f\",\r\n    \"result\": true,\r\n    \"code\": 99999999,\r\n    \"data|2\": [{\r\n        \"designer_id\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(1,1)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10000';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"scene_name\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"\\u5546\\u54c1\\u6548\\u679c\\u6d4b\\u8bd5\\\",\\\"\\u5546\\u54c1\\u6548\\u679c\\u6d4b\\u8bd5\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10001';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"in_shelf\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(1,1)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10002';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"room_args\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"{\\\"1\\\":{\\\"id\\\":1,\\\"FOVx\\\":65.97752238227275,\\\"FOVy\\\":40.117807,\\\"Position\\\":{\\\"x\\\":3.368628,\\\"y\\\":-2.995035,\\\"z\\\":1.4},\\\"Quaternion\\\":{\\\"x\\\":0.722453,\\\"y\\\":0.001152,\\\"z\\\":-0.001102,\\\"w\\\":-0.691419},\\\"angleX\\\":107.922626,\\\"angleY\\\":45.132237,\\\"dragAngleX\\\":107.922626,\\\"dragAngleY\\\":45.132237,\\\"isPanorama\\\":true,\\\"dragAngleLeft\\\":52,\\\"dragAngleRight\\\":33,\\\"dragAngleUp\\\":22,\\\"dragAngleDown\\\":22,\\\"exposureBias\\\":1,\\\"QuaternionNew\\\":{\\\"x\\\":-0.7155519334704465,\\\"y\\\":-0.08015251829528554,\\\"z\\\":0.07724920278482071,\\\"w\\\":0.6896329204632993}},\\\"room\\\":{\\\"sizeX\\\":13.4,\\\"sizeY\\\":7.2,\\\"sizeZ\\\":3.2,\\\"isPanorama\\\":true}}\\\",\\\"{\\\"1\\\":{\\\"id\\\":1,\\\"FOVx\\\":65.97752238227275,\\\"FOVy\\\":40.117807,\\\"Position\\\":{\\\"x\\\":3.368628,\\\"y\\\":-2.995035,\\\"z\\\":1.4},\\\"Quaternion\\\":{\\\"x\\\":0.722453,\\\"y\\\":0.001152,\\\"z\\\":-0.001102,\\\"w\\\":-0.691419},\\\"angleX\\\":107.922626,\\\"angleY\\\":45.132237,\\\"dragAngleX\\\":107.922626,\\\"dragAngleY\\\":45.132237,\\\"isPanorama\\\":true,\\\"dragAngleLeft\\\":52,\\\"dragAngleRight\\\":33,\\\"dragAngleUp\\\":22,\\\"dragAngleDown\\\":22,\\\"exposureBias\\\":1,\\\"QuaternionNew\\\":{\\\"x\\\":-0.7155519334704465,\\\"y\\\":-0.08015251829528554,\\\"z\\\":0.07724920278482071,\\\"w\\\":0.6896329204632993}},\\\"room\\\":{\\\"sizeX\\\":13.4,\\\"sizeY\\\":7.2,\\\"sizeZ\\\":3.2,\\\"isPanorama\\\":true}}\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10003';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"style_id\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(1,1)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10004';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"creator\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"\\\",\\\"\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10005';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"pics_path\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"\\\",\\\"\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10006';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"user_id\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(0,0)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10007';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"adv_bottom\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"\\\",\\\"\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10008';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"haspics\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(0,0)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10009';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"isrecommend\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(0,0)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10010';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"root_id\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(0,0)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10011';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"desc\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"<p>12<\\/p>\\\",\\\"<p>12<\\/p>\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10012';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"model_info\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"[{\\\"id\\\":157,\\\"position\\\":{\\\"x\\\":0.8290811648136097,\\\"y\\\":2.773665489427823,\\\"z\\\":0.3800000000000001},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.06920367457323079},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.034594932977462294,\\\"w\\\":0.9994014161548326}},{\\\"id\\\":37,\\\"position\\\":{\\\"x\\\":3.211819238806907,\\\"y\\\":0.8361365252640024,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-1.5207963275941434},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.6892099939523402,\\\"w\\\":0.72456164971396}},{\\\"id\\\":37,\\\"position\\\":{\\\"x\\\":2.1239044442716355,\\\"y\\\":0.7270494947133531,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":1.809203666420212},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.7861791507359865,\\\"w\\\":0.6179986593416227}},{\\\"id\\\":64,\\\"position\\\":{\\\"x\\\":1.2854428247993726,\\\"y\\\":2.1088075631936727,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-1.5707963267948963},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.7071067811865475,\\\"w\\\":0.7071067811865477}},{\\\"id\\\":160,\\\"position\\\":{\\\"x\\\":2.5180308423769353,\\\"y\\\":1.7037948087943773,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.0007963267961379878},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.00039816338754858187,\\\"w\\\":0.9999999207329553}},{\\\"id\\\":110,\\\"position\\\":{\\\"x\\\":4.363383838660308,\\\"y\\\":1.8446611590397413,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.6207963216517365},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.30543779417332834,\\\"w\\\":0.9522120320026057}},{\\\"id\\\":150,\\\"position\\\":{\\\"x\\\":0.38423754919784114,\\\"y\\\":2.8821267664956207,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.12920367633817348},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.06455691268644366,\\\"w\\\":0.9979140268702484}},{\\\"id\\\":179,\\\"position\\\":{\\\"x\\\":1.6566218773145178,\\\"y\\\":0.6982262358268683,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.3207963322474933},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.15971127443568203,\\\"w\\\":0.9871637700088726}},{\\\"id\\\":116,\\\"position\\\":{\\\"x\\\":0.7876551977953973,\\\"y\\\":1.0447069865075296,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.4692036732051035},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.2324557474516606,\\\"w\\\":0.9726069737960394}},{\\\"id\\\":123,\\\"position\\\":{\\\"x\\\":0.2772290873919028,\\\"y\\\":0.450067813046513,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.9792036732051036},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.47027453822665294,\\\"w\\\":0.8825201746678136}}]\\\",\\\"[{\\\"id\\\":157,\\\"position\\\":{\\\"x\\\":0.8290811648136097,\\\"y\\\":2.773665489427823,\\\"z\\\":0.3800000000000001},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.06920367457323079},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.034594932977462294,\\\"w\\\":0.9994014161548326}},{\\\"id\\\":37,\\\"position\\\":{\\\"x\\\":3.211819238806907,\\\"y\\\":0.8361365252640024,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-1.5207963275941434},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.6892099939523402,\\\"w\\\":0.72456164971396}},{\\\"id\\\":37,\\\"position\\\":{\\\"x\\\":2.1239044442716355,\\\"y\\\":0.7270494947133531,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":1.809203666420212},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.7861791507359865,\\\"w\\\":0.6179986593416227}},{\\\"id\\\":64,\\\"position\\\":{\\\"x\\\":1.2854428247993726,\\\"y\\\":2.1088075631936727,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-1.5707963267948963},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.7071067811865475,\\\"w\\\":0.7071067811865477}},{\\\"id\\\":160,\\\"position\\\":{\\\"x\\\":2.5180308423769353,\\\"y\\\":1.7037948087943773,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.0007963267961379878},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.00039816338754858187,\\\"w\\\":0.9999999207329553}},{\\\"id\\\":110,\\\"position\\\":{\\\"x\\\":4.363383838660308,\\\"y\\\":1.8446611590397413,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.6207963216517365},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.30543779417332834,\\\"w\\\":0.9522120320026057}},{\\\"id\\\":150,\\\"position\\\":{\\\"x\\\":0.38423754919784114,\\\"y\\\":2.8821267664956207,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.12920367633817348},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.06455691268644366,\\\"w\\\":0.9979140268702484}},{\\\"id\\\":179,\\\"position\\\":{\\\"x\\\":1.6566218773145178,\\\"y\\\":0.6982262358268683,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.3207963322474933},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":-0.15971127443568203,\\\"w\\\":0.9871637700088726}},{\\\"id\\\":116,\\\"position\\\":{\\\"x\\\":0.7876551977953973,\\\"y\\\":1.0447069865075296,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.4692036732051035},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.2324557474516606,\\\"w\\\":0.9726069737960394}},{\\\"id\\\":123,\\\"position\\\":{\\\"x\\\":0.2772290873919028,\\\"y\\\":0.450067813046513,\\\"z\\\":0},\\\"rotation\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.9792036732051036},\\\"quaternion\\\":{\\\"x\\\":0,\\\"y\\\":0,\\\"z\\\":0.47027453822665294,\\\"w\\\":0.8825201746678136}}]\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10013';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"room_id\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(188,188)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10014';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"label_ids\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(36,36)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10015';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"displayorder\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(0,0)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10016';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"model_ids\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"157,37,37,64,160,110,150,179,116,123\\\",\\\"157,37,37,64,160,110,150,179,116,123\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10017';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"style\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"\\u73b0\\u4ee3\\\",\\\"\\u73b0\\u4ee3\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10018';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"updator\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"\\\",\\\"\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10019';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"advert_text\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"\\\",\\\"\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10020';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"brand_id\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(1,1)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10021';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"pic_resids\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"\\\",\\\"\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10022';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"brand\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"Carlhansen&son\\\",\\\"Carlhansen&son\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10023';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"owner_id\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(0,0)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10024';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"category\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"\\u5c55\\u5385\\\",\\\"\\u5c55\\u5385\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10025';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"advert_author\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"\\\",\\\"\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10026';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"create_time\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(1431681119,1431681119)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10027';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"adv_top\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"\\\",\\\"\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10028';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"scene_id\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(267,267)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10029';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"remark\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(\\\"\\\",\\\"\\\")\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10030';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"isfav\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(0,0)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10031';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"category_id\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(19,19)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10032';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"area\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(12,12)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10033';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"update_time\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(1431920552,1431920552)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10034';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        },\r\n        \"pics\": {},\r\n        \"from_id\": function() {\r\n            var window = function() {\r\n                return this;\r\n            } ();\r\n            function geneVal(key) {\r\n                var o = __rap__context__[key];\r\n                var arr = o.arr;\r\n                return arr[o.index++%arr.length];\r\n            }\r\n            if (!window.__rap__context__) {\r\n                window.__rap__context__ = {};\r\n            }\r\n            var orderCmd = \"$order(0,0)\";\r\n            var orderArr = eval('[' + orderCmd.substring(7, orderCmd.length - 1) + ']');\r\n            var key = '10035';\r\n            if (!__rap__context__[key]) {\r\n                __rap__context__[key] = {\r\n                    arr: orderArr,\r\n                    index: 0\r\n                };\r\n            }\r\n            return geneVal(key);\r\n        }\r\n    }]\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/nuysoft/Mock/issues/comments/107879866","html_url":"https://github.com/nuysoft/Mock/issues/62#issuecomment-107879866","issue_url":"https://api.github.com/repos/nuysoft/Mock/issues/62","id":107879866,"user":{"login":"Bosn","id":1892986,"avatar_url":"https://avatars.githubusercontent.com/u/1892986?v=3","gravatar_id":"","url":"https://api.github.com/users/Bosn","html_url":"https://github.com/Bosn","followers_url":"https://api.github.com/users/Bosn/followers","following_url":"https://api.github.com/users/Bosn/following{/other_user}","gists_url":"https://api.github.com/users/Bosn/gists{/gist_id}","starred_url":"https://api.github.com/users/Bosn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bosn/subscriptions","organizations_url":"https://api.github.com/users/Bosn/orgs","repos_url":"https://api.github.com/users/Bosn/repos","events_url":"https://api.github.com/users/Bosn/events{/privacy}","received_events_url":"https://api.github.com/users/Bosn/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T09:14:59Z","updated_at":"2015-06-02T09:14:59Z","body":"将在RAP issue #149 中跟进并解决，该issue closed"}}