update 海之农作为兜底子商户
This commit is contained in:
parent
02af08f7d8
commit
be574ad5bb
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\common\controller;
|
||||||
|
|
||||||
|
use think\Log;
|
||||||
|
|
||||||
|
class GitWebHookController extends BaseLikeAdminController
|
||||||
|
{
|
||||||
|
public function pullDevBranch()
|
||||||
|
{
|
||||||
|
system("cd /opt/1panel/apps/openresty/openresty/www/sites/ceshi-pay.lihaink.cn/index && git pull", $result_code);
|
||||||
|
Log::info(['git pull dev branch result', $result_code]);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue