|
@@ -453,6 +453,7 @@ class SaasController extends BaseController
|
|
|
{
|
|
{
|
|
|
if (Yii::$app->request->getIsPost()) {
|
|
if (Yii::$app->request->getIsPost()) {
|
|
|
$protocol = post_params('protocol', '');
|
|
$protocol = post_params('protocol', '');
|
|
|
|
|
+ $is_debug = post_params('is_debug', 0);
|
|
|
$describe = post_params('describe', '');
|
|
$describe = post_params('describe', '');
|
|
|
$name = post_params('name', '');
|
|
$name = post_params('name', '');
|
|
|
$logo = post_params('logo', '');
|
|
$logo = post_params('logo', '');
|
|
@@ -465,6 +466,7 @@ class SaasController extends BaseController
|
|
|
$shenhe = post_params('shenhe', 0);
|
|
$shenhe = post_params('shenhe', 0);
|
|
|
$is_show_kefu_download = post_params('is_show_kefu_download', 1);
|
|
$is_show_kefu_download = post_params('is_show_kefu_download', 1);
|
|
|
// $tencent_map_key = post_params('tencent_map_key', '');
|
|
// $tencent_map_key = post_params('tencent_map_key', '');
|
|
|
|
|
+ Option::set('is_debug', $is_debug, 0, 'saas');
|
|
|
Option::set('protocol', $protocol, 0, 'saas');
|
|
Option::set('protocol', $protocol, 0, 'saas');
|
|
|
Option::set('store_apply_agreement', $protocol, 0, 'saas');
|
|
Option::set('store_apply_agreement', $protocol, 0, 'saas');
|
|
|
Option::set('describe', $describe, 0, 'saas');
|
|
Option::set('describe', $describe, 0, 'saas');
|
|
@@ -485,6 +487,7 @@ class SaasController extends BaseController
|
|
|
'msg' => '保存成功',
|
|
'msg' => '保存成功',
|
|
|
]);
|
|
]);
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+ $is_debug = Option::get('is_debug', 0, 'saas', '');
|
|
|
$protocol = Option::get('protocol', 0, 'saas', '');
|
|
$protocol = Option::get('protocol', 0, 'saas', '');
|
|
|
$describe = Option::get('describe', 0, 'saas', '');
|
|
$describe = Option::get('describe', 0, 'saas', '');
|
|
|
$name = Option::get('name', 0, 'saas', '');
|
|
$name = Option::get('name', 0, 'saas', '');
|
|
@@ -502,6 +505,7 @@ class SaasController extends BaseController
|
|
|
'code' => 0,
|
|
'code' => 0,
|
|
|
'msg' => 'success',
|
|
'msg' => 'success',
|
|
|
'data' => [
|
|
'data' => [
|
|
|
|
|
+ 'is_debug'=>$is_debug['value'],
|
|
|
'protocol' => $protocol['value'],
|
|
'protocol' => $protocol['value'],
|
|
|
'describe' => $describe['value'],
|
|
'describe' => $describe['value'],
|
|
|
'name' => $name['value'],
|
|
'name' => $name['value'],
|