|
|
@@ -130,7 +130,7 @@ class InitController extends Controller
|
|
|
|
|
|
|
|
|
//清除零售商城相关的数据
|
|
|
- $sql = "TRUNCATE xhUser;TRUNCATE xhCustom;";
|
|
|
+ $sql = "TRUNCATE xhUser;TRUNCATE xhCustom;truncate xhUserAsset;";
|
|
|
Yii::$app->db->createCommand($sql)->execute();
|
|
|
$sql = "UPDATE xhOrder SET customId=0,customName='',alipayId=0;";
|
|
|
Yii::$app->db->createCommand($sql)->execute();
|