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

+ 1 - 1
console/controllers/UpgradeController.php

@@ -966,7 +966,7 @@ UPDATE `xhAdmin` SET id=18528,merchantId=12358,roleId=683 WHERE id=1;";
 		
 		//优惠券的资产信息
 		$time = time();
-		$sql = "insert into xhCouponAsset values(null,12358,1,30,280,7,0,0,0,0,{$time}),(null,12359,1,30,280,7,0,0,0,0,{$time}),(null,12360,1,30,280,7,0,0,0,0,{$time}),(null,12361,1,30,280,7,0,0,0,0,{$time})";
+		$sql = "insert into xhCouponAsset value(null,12358,1,30,280,7,0,0,0,0,{$time}),(null,12359,1,30,280,7,0,0,0,0,{$time}),(null,12360,1,30,280,7,0,0,0,0,{$time}),(null,12361,1,30,280,7,0,0,0,0,{$time})";
 		Yii::$app->db->createCommand($sql)->execute();
 
 		$sql = "update xhMerchant set adminId=18528 where id=12358;update xhMerchant set adminId=18529 where id=12359;update xhMerchant set adminId=18530 where id=12360;update xhMerchant set adminId=18531 where id=12361;";