mvc-config.json 1.69 KB
{
    "defaultActionName": "index",
    "layout": {
        "default-layout": "new_layout",
        "default/index320": "new_layout320"
    },
    "renderOptions": {
        "login": {
            "data": [
                {
                    "one": "one1",
                    "two": "two",
                    "three": "three"
                }, {
                    "one": "one2",
                    "two": "two",
                    "three": "three"
                }
            ],
            "css": "这里头是mustache模板除模板参数外其他的参数"
        },
        "default/index320":"mvc-config-data"
    },
    "ajax": {
        "todolist/getlist": ["这是我的list", "这是我的list", "这是我的list", "这是我的list", "这是我的list", "这是我的list", "这是我的list", "这是我的list"],
        "todolist/getlist2": {
            "ajaxRepeat": 3,
            "ajaxData": {
                "one": "one",
                "two": "two",
                "three": "three"
            }
        },
        "haha3": [1, 2, 3, 4, 5, 6, 7, 8, 9, 0],
        "hah4": [1, 2, 3, 4, 5, 6, 7, 8, 8, 7, 6, 5, 4, 32, 1],
        "haha/haha": [1, 2, 3, 4, 5, 6, 7, 8, 8, 7, 6, 5, 4, 32, 1],
        "haha/haha2": [1, 2, 3, 4, 5, 6, 7, 8, 8, 7, 6, 5, 4, 32, 1],
        "login/issuccess": true,
        "login/issuccess2": false,
        "login/issuccess3": false,
        "login/issuccess4": {
            "ajaxRepeat": 10,
            "ajaxData": {
                "one": "one,^_^",
                "two": "two^_^",
                "three": "three^_^"
            }
        },
        "test/test/test3": {
            "one": 1,
            "two": 2,
            "three": 3
        }
    }
}