mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-18 14:26:56 +00:00
14 lines
201 B
JavaScript
14 lines
201 B
JavaScript
'use strict';
|
|
/**
|
|
* rest controller
|
|
* @type {[type]}
|
|
*/
|
|
module.exports = think.controller('rest', {
|
|
/**
|
|
* before magic method
|
|
* @return {Promise} []
|
|
*/
|
|
__before: function(){
|
|
|
|
}
|
|
}) |