shish il y a 6 ans
Parent
commit
7653de3d14
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      console/controllers/UpgradeController.php

+ 1 - 1
console/controllers/UpgradeController.php

@@ -1106,7 +1106,7 @@ update xhMerchant set merchantName='花店宝' where id=12358;update xhShop set
 		$sql = "update xhShop set openTime='08:00-22:00',telephone='18030142050',lat='24.46886',`long`='118.10708',province='福建省',city='厦门市',address='福建省厦门市思明区后埭溪路128-5号' where id in(15681,15680);update xhShop set telephone='15280215347' where id=15681;";
 		Yii::$app->db->createCommand($sql)->execute($sql);
 
-		$sql = "update xhMerchant set miniAppId='',wxAppId='',miniAppSecret='',openAppId='' where id in(12359,12358);update xhMerchantExtend set miniAppId='',wxAppId='',wxPayMerchantId='',wxPayKey='',openAppId='';";
+		$sql = "UPDATE xhMerchant SET miniAppId='',wxAppId='',miniAppSecret='',openAppId='' WHERE id IN(12359,12358);UPDATE xhMerchantExtend SET miniAppId='',wxAppId='',openAppId='',wxAuth=0,miniAuth=0,init=0 WHERE merchantId IN(12359,12358);";
 		Yii::$app->db->createCommand($sql)->execute($sql);
 
 	}