Update site.py

This commit is contained in:
Mr Chen 2024-11-07 03:55:16 +08:00
parent 1b4785ec52
commit fa614fcf88
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ class sites(object):
thisdb.setOption('default_site', name)
mw.restartWeb()
return mw.returnJson(True, '设置成功!')
return mw.returnData(True, '设置成功!')
def setCliPhpVersion(self, version):
php_bin = '/usr/bin/php'