Jelajahi Sumber

去除老带新券表

shish 6 tahun lalu
induk
melakukan
182274c956
2 mengubah file dengan 10 tambahan dan 1 penghapusan
  1. 7 1
      app/client/controllers/UserController.php
  2. 3 0
      sql.txt

+ 7 - 1
app/client/controllers/UserController.php

@@ -8,11 +8,17 @@ use common\components\util;
 
 class UserController extends BaseController {
 
-	//获取客户资产 shish 2019.11.22
+	//获取登陆客户资产 shish 2019.11.22
 	public function actionGetAsset()
 	{
 		$asset = UserAssetService::getByUserId($this->userId);
 		util::success($asset);
 	}
 
+	//获取登陆客户的优惠情况  shish 2019.12.3
+	public function actionGetDiscount()
+	{
+
+	}
+
 }

+ 3 - 0
sql.txt

@@ -1,6 +1,9 @@
 2019.12.3 shish
 ALTER TABLE xhGoods ADD sendType TINYINT NOT NULL DEFAULT 0 COMMENT '配送方式 0需要配送 1到店自提' AFTER sendArea;
 ALTER TABLE xhGoods ADD freightType TINYINT NOT NULL DEFAULT 0 COMMENT '运费计算方式,0按距离计算 1免运费' AFTER sendType;
+DROP TABLE IF EXISTS `xhCouponModel`;
+DROP TABLE IF EXISTS `xhCouponReward`;
+DROP TABLE IF EXISTS `xhCouponRight`;
 
 2019.12.2 19:18
 DROP TABLE IF EXISTS `xhCategoryRelate`;