فهرست منبع

修复推广订单页面加载问题

liaofei 2 سال پیش
والد
کامیت
20102bcbee

+ 1 - 0
crmeb/app/services/order/StoreOrderServices.php

@@ -53,6 +53,7 @@ use think\facade\Log;
  * @method getTrendData($time, $type, $timeType, $str) 用户趋势
  * @method getRegion($time, $channelType) 地域统计
  * @method getProductTrend($time, $timeType, $field, $str) 商品趋势
+ * @method getList(array $where, array $field, int $page = 0, int $limit = 0, array $with = [])
  */
 class StoreOrderServices extends BaseServices
 {

+ 1 - 1
crmeb/app/services/user/UserBillServices.php

@@ -1185,7 +1185,7 @@ class UserBillServices extends BaseServices
     {
         /** @var UserServices $userService */
         $userService = app()->make(UserServices::class);
-        if (!$userService->getUserInfo($uid)) {
+        if (!$userService->getUserInfo($uid, 'uid')) {
             throw new ApiException(100026);
         }
         $result = ['list' => [], 'time' => [], 'count' => 0];

+ 2 - 2
template/uni-app/pages/users/promoter-order/index.vue

@@ -104,7 +104,7 @@
 		data() {
 			return {
 				page: 1,
-				limit: 5,
+				limit: 8,
 				status: false,
 				recordList: [],
 				times: [],
@@ -173,7 +173,7 @@
 						}
 					}
 					that.count = res.data.count || 0;
-					that.status = res.data.list.length < 5;
+					that.status = res.data.list.length < 8;
 					that.page += 1;
 				});
 			}