Browse Source

移动端简单内容

shish 6 years ago
parent
commit
8945f667ee
1 changed files with 3 additions and 0 deletions
  1. 3 0
      console/controllers/UpgradeController.php

+ 3 - 0
console/controllers/UpgradeController.php

@@ -976,6 +976,9 @@ ALTER TABLE `xhMerchantCapital` MODIFY `io` TINYINT NOT NULL DEFAULT 0 COMMENT '
 			}
 		}
 
+		$sql = "ALTER TABLE xhGoods ADD `briefContent` VARCHAR(1000) NOT NULL DEFAULT '' COMMENT '简单内容介绍,移动端添加商品' AFTER `content`;";
+		Yii::$app->db->createCommand($sql)->execute();
+
 	}
 
 	//重新拉取并保存国兰客户的头像和图片 shish 2020.1.12