diff --git a/crmeb/app/api/controller/v2/user/StoreService.php b/crmeb/app/api/controller/v2/user/StoreService.php
index 9f5ce0ac7..e0d7ff852 100644
--- a/crmeb/app/api/controller/v2/user/StoreService.php
+++ b/crmeb/app/api/controller/v2/user/StoreService.php
@@ -40,8 +40,11 @@ class StoreService
/**
* 客服聊天记录
* @param Request $request
- * @param $toUid
+ * @param StoreServiceServices $services
* @return array
+ * @throws \think\db\exception\DataNotFoundException
+ * @throws \think\db\exception\DbException
+ * @throws \think\db\exception\ModelNotFoundException
*/
public function record(Request $request, StoreServiceServices $services)
{
diff --git a/crmeb/app/dao/service/StoreServiceLogDao.php b/crmeb/app/dao/service/StoreServiceLogDao.php
index 010cd6919..6448ac5a1 100644
--- a/crmeb/app/dao/service/StoreServiceLogDao.php
+++ b/crmeb/app/dao/service/StoreServiceLogDao.php
@@ -83,7 +83,7 @@ class StoreServiceLogDao extends BaseDao
$query->where('id', '<', $upperId)->limit($limit)->order('id DESC');
})->when(!$upperId, function ($query) use ($limit) {
$query->limit($limit)->order('id DESC');
- })->with(['user', 'service'])->select()->toArray();
+ })->with(['user'])->select()->toArray();
}
/**
diff --git a/crmeb/app/kefuapi/controller/Service.php b/crmeb/app/kefuapi/controller/Service.php
index 643ec7e13..9975ff1ad 100644
--- a/crmeb/app/kefuapi/controller/Service.php
+++ b/crmeb/app/kefuapi/controller/Service.php
@@ -261,8 +261,11 @@ class Service extends AuthController
/**
* 聊天记录
- * @param $uid
+ * @param Request $request
* @return mixed
+ * @throws \think\db\exception\DataNotFoundException
+ * @throws \think\db\exception\DbException
+ * @throws \think\db\exception\ModelNotFoundException
*/
public function getChatList(Request $request)
{
diff --git a/crmeb/app/services/order/StoreOrderCreateServices.php b/crmeb/app/services/order/StoreOrderCreateServices.php
index f10d15c2e..79a55980e 100644
--- a/crmeb/app/services/order/StoreOrderCreateServices.php
+++ b/crmeb/app/services/order/StoreOrderCreateServices.php
@@ -223,6 +223,7 @@ class StoreOrderCreateServices extends BaseServices
$deduction = $seckillId || $bargainId || $combinationId;
if ($deduction) {
$couponId = 0;
+ $gainIntegral = 0;
$useIntegral = false;
}
//$shipping_type = 1 快递发货 $shipping_type = 2 门店自提
diff --git a/crmeb/app/services/order/StoreOrderRefundServices.php b/crmeb/app/services/order/StoreOrderRefundServices.php
index 64031e20d..ef432efff 100644
--- a/crmeb/app/services/order/StoreOrderRefundServices.php
+++ b/crmeb/app/services/order/StoreOrderRefundServices.php
@@ -145,7 +145,7 @@ class StoreOrderRefundServices extends BaseServices
throw new AdminException(400489);
}
//退拼团
- if ($splitOrderInfo['pid'] == 0 && !$splitOrderInfo['pink_id']) {
+ if ($splitOrderInfo['pid'] == 0 && $splitOrderInfo['pink_id'] > 0) {
/** @var StorePinkServices $pinkServices */
$pinkServices = app()->make(StorePinkServices::class);
if (!$pinkServices->setRefundPink($splitOrderInfo)) {
diff --git a/template/admin/src/pages/order/invoice/index.vue b/template/admin/src/pages/order/invoice/index.vue
index 09e947a0e..f620e48ba 100644
--- a/template/admin/src/pages/order/invoice/index.vue
+++ b/template/admin/src/pages/order/invoice/index.vue
@@ -94,7 +94,7 @@
已开票
- --
+ 未开票
未发货