diff --git a/admin/controllers/sys/Company.php b/admin/controllers/sys/Company.php index 97df9702..b9740eca 100644 --- a/admin/controllers/sys/Company.php +++ b/admin/controllers/sys/Company.php @@ -77,6 +77,7 @@ class Company extends HD_Controller{ 'title' => $row['title'], 'short' => $row['short'], 'credit_code' => $row['credit_code'], + 'wx_mchid' => $row['wx_mchid'], 'status' => $row['status'], ); $action = '/sys/company/edit'; @@ -86,6 +87,7 @@ class Company extends HD_Controller{ 'title' => '', 'short' => '', 'credit_code' => '', + 'wx_mchid' => '', 'status' => 0, ); $action = '/sys/company/add'; @@ -120,6 +122,7 @@ class Company extends HD_Controller{ 'title' => $title, 'short' => $short, 'credit_code' => $info['credit_code'] ? $info['credit_code'] : '', + 'wx_mchid' => $info['wx_mchid'] ? $info['wx_mchid'] : '', 'status' => intval($info['status']) ); @@ -153,6 +156,7 @@ class Company extends HD_Controller{ 'title' => $title, 'short' => $short ? $short : '', 'credit_code' => $info['credit_code'] ? $info['credit_code'] : '', + 'wx_mchid' => $info['wx_mchid'] ? $info['wx_mchid'] : '', 'status' => intval($info['status']) ); diff --git a/admin/views/sys/company/get.php b/admin/views/sys/company/get.php index 8202d328..db9ad63b 100644 --- a/admin/views/sys/company/get.php +++ b/admin/views/sys/company/get.php @@ -11,6 +11,10 @@
+