north 7 년 전
부모
커밋
3b3b9258a7
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 0
      www/protected/config/yiguanjia_const.php
  2. 1 1
      www/protected/modules/j/controllers/HouseKeepingController.php

+ 4 - 0
www/protected/config/yiguanjia_const.php

@@ -36,6 +36,10 @@ $wz['wxConfig'] = array(
     'appId' => 'wx9a632fd8918d1a48',
     'appSecret' => '1d21b873c19a36b200cf1d0bb1e9aa26'
 );
+$wz['wxJgConfig'] = array(
+    'appId' => 'wx9a632fd8918d1a48',
+    'appSecret' => '1d21b873c19a36b200cf1d0bb1e9aa26'
+);
 $wz['xyhWxConfig'] = array(
   'appId' =>'wx637ee1a426503bdb',
   'appSecret' => '35938d1813453e91d732b085a939ad87'

+ 1 - 1
www/protected/modules/j/controllers/HouseKeepingController.php

@@ -152,7 +152,7 @@ class HouseKeepingController extends JBaseController
             $h->tech_mobile = $tech_mobile;
         }
         $success = $h->save();
-        if ($success && intval($h->status) == 2 || $flag == 1) {//status_time
+        if ($success && $flag == 1) {//status_time
             $c = new EMongoCriteria();
             $c->store_id('==',$h->store_id);
             $store = Store::model()->find($c);