MCPcopy
hub / github.com/thinkjs/thinkjs / config

Function config

lib/extend/context.js:158–160  ·  view source on GitHub ↗

* get or set configs * @param {String} name * @param {Mixed} value * @param {String} m

(name, value, m = this.module)

Source from the content-addressed store, hash-verified

156 * @param {String} m
157 */
158 config(name, value, m = this.module) {
159 return think.config(name, value, m);
160 },
161 /**
162 * get or set query data
163 * `query` or `get` is already used in koa

Callers

nothing calls this directly

Calls 1

configMethod · 0.80

Tested by

no test coverage detected