فهرست منبع

修改文件注释及商城订单表

邹景立 3 سال پیش
والد
کامیت
00a6a146d0

+ 1 - 1
app/data/controller/api/Auth.php

@@ -10,7 +10,7 @@ use think\exception\HttpResponseException;
 /**
  * 接口授权认证基类
  * Class Auth
- * @package app\store\controller\api
+ * @package app\data\controller\api
  */
 abstract class Auth extends Controller
 {

+ 1 - 1
app/data/controller/api/auth/Order.php

@@ -82,7 +82,7 @@ class Order extends Auth
             // 限制购买数量
             if (isset($goods['limit_max_num']) && $goods['limit_max_num'] > 0) {
                 $map = [['a.uuid', '=', $this->uuid], ['a.status', 'in', [2, 3, 4, 5]], ['b.goods_code', '=', $goods['code']]];
-                $buys = $this->app->db->name('StoreOrder')->alias('a')->join('store_order_item b', 'a.order_no=b.order_no')->where($map)->sum('b.stock_sales');
+                $buys = $this->app->db->name('DataOrder')->alias('a')->join('store_order_item b', 'a.order_no=b.order_no')->where($map)->sum('b.stock_sales');
                 if ($buys + $count > $goods['limit_max_num']) $this->error('超过限购数量');
             }
             // 限制购买身份

+ 1 - 1
app/data/service/UserAdminService.php

@@ -9,7 +9,7 @@ use think\db\exception\DbException;
 /**
  * 用户数据管理服务
  * Class UserAdminService
- * @package app\store\service
+ * @package app\data\service
  */
 class UserAdminService extends Service
 {

+ 1 - 1
app/data/service/payment/AlipayPaymentService.php

@@ -8,7 +8,7 @@ use think\admin\Exception;
 /**
  * 支付宝支付基础服务
  * Class AlipayPaymentService
- * @package app\store\service\payment
+ * @package app\data\service\payment
  */
 class AlipayPaymentService extends PaymentService
 {

+ 1 - 1
app/data/service/payment/JoinpayPaymentService.php

@@ -9,7 +9,7 @@ use think\admin\extend\HttpExtend;
 /**
  * 汇聚支付基础服务
  * Class JoinpayPaymentService
- * @package app\store\service\payment
+ * @package app\data\service\payment
  */
 class JoinpayPaymentService extends PaymentService
 {

+ 1 - 1
app/data/service/payment/WechatPaymentService.php

@@ -9,7 +9,7 @@ use WePay\Order;
 /**
  * 微信官方公众号支持
  * Class WechatPaymentService
- * @package app\store\service\payment
+ * @package app\data\service\payment
  */
 class WechatPaymentService extends PaymentService
 {