正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -273,10 +273,12 @@ public function getRandInquiryText(Request $request){ | @@ -273,10 +273,12 @@ public function getRandInquiryText(Request $request){ | ||
| 273 | /** | 273 | /** | 
| 274 | * 拉代码 | 274 | * 拉代码 | 
| 275 | * @param Request $request | 275 | * @param Request $request | 
| 276 | + * @return string | ||
| 276 | */ | 277 | */ | 
| 277 | public function pullCode(Request $request){ | 278 | public function pullCode(Request $request){ | 
| 278 | $command = "cd /www/wwwroot/globalso-v6-c-customer && ./pull_custom_code.sh"; | 279 | $command = "cd /www/wwwroot/globalso-v6-c-customer && ./pull_custom_code.sh"; | 
| 279 | shell_exec($command); | 280 | shell_exec($command); | 
| 281 | + return $this->success(); | ||
| 280 | } | 282 | } | 
| 281 | 283 | ||
| 282 | /** | 284 | /** | 
- 
请 注册 或 登录 后发表评论