update 海之农作为兜底子商户

This commit is contained in:
chenbo 2023-11-20 13:40:38 +08:00
parent 02af08f7d8
commit be574ad5bb
1 changed files with 14 additions and 0 deletions

View File

@ -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]);
}
}