Fastadmin里面的配置信息

{
	"site": {
		"name": "FastAdminCMS",
		"cdnurl": "",
		"version": 1517987530,
		"timezone": "Asia\/Shanghai",
		"languages": {
			"backend": "zh-cn",
			"frontend": "zh-cn"
		}
	},
	"upload": {
		"cdnurl": "",
		"uploadurl": "ajax\/upload",
		"bucket": "local",
		"maxsize": "10mb",
		"mimetype": "*",
		"multipart": [],
		"multiple": false
	},
	"modulename": "admin",
	"controllername": "index",
	"actionname": "index",
	"jsname": "backend\/index",
	"moduleurl": "\/admin",
	"language": "zh-cn",
	"fastadmin": {
		"login_captcha": false,
		"login_unique": false,
		"login_background": "\/assets\/img\/loginbg.jpg",
		"checkupdate": false,
		"version": "1.0.0.20180130_beta",
		"api_url": "http:\/\/api.fastadmin.net"
	},
	"referer": "\/admin\/dashboard"
}

Config.fastadmin.checkupdate  这样做js里面,就可以通过这种方式来引用。


你可能感兴趣的:(fastadmin)