mvc-config.json 2.85 KB
{
    "defaultActionName": "index",
    "layout": {
        "default-layout": "new_layout",
        "detail": "common_layout",
        "magazine": "common_layout",
        "about/*": "common_layout",
        "error": "common_layout",
        "default/index320": "new_layout320"
    },
    "renderOptions": {
        "login": {
            "data": [
                {
                    "one": "one1",
                    "two": "two",
                    "three": "three"
                }, {
                    "one": "one2",
                    "two": "two",
                    "three": "three"
                }
            ]
        },
        "default": "mvc-config-wangwei/mvc-config-wangwei.json",
        "default/index320":"mvc-config-data",
        "detail": "mvc-config-detail",
        "magazine": "mvc-config-magazine",
        "fashion":"mvc-config-wangwei/mvc-config-fashion",
        "fashion/index_with_nothing":"mvc-config-wangwei/mvc-config-fashion-nothing",
        "fashion/index_without_advert":"mvc-config-wangwei/mvc-config-fashion-no-advert",
        "fashion/index_without_centerbanner":"mvc-config-wangwei/mvc-config-fashion",
        "sports":"mvc-config-wangwei/mvc-config-sports",
        "beauty":"mvc-config-wangwei/mvc-config-beauty",
        "lifestyle":"mvc-config-wangwei/mvc-config-lifestyle",
        "video":"mvc-config-wangwei/mvc-config-video"
        
    },
    "ajax": {
        "todolist/getlist": ["这是我的list", "这是我的list", "这是我的list", "这是我的list", "这是我的list", "这是我的list", "这是我的list", "这是我的list"],
        "todolist/getlist2": {
            "ajaxRepeat": 3,
            "ajaxData": {
                "one": "one",
                "two": "two",
                "three": "three"
            }
        },
        "comment/default/list": {
            "status": true,
            "code": 200,
            "data": {
                "comment": [
                    {
                        "username":"YOHO_9d5477",
                        "userimg":"http:\/\/rescdn.yohoboys.com\/res\/new\/boys\/images\/detail\/user-img120.png",
                        "type":"",
                        "partnerType":"yoho",
                        "isSelf":true,
                        "content":"22",
                        "id":"2116"
                    },
                    {
                        "username":"YOHO_9d5477",
                        "userimg":"http:\/\/rescdn.yohoboys.com\/res\/new\/boys\/images\/detail\/user-img120.png",
                        "type":"",
                        "partnerType":"yoho",
                        "isSelf":true,
                        "content":"33",
                        "id":"2115"
                    }
                ],
                "total":"2",
                "page":"     "
            },
            "message":""
        }
    }
}