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

This commit is contained in:
liaofei 2023-02-17 17:52:15 +08:00
parent 6f6c981d6a
commit 20102bcbee
3 changed files with 4 additions and 3 deletions

View File

@ -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
{

View File

@ -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];

View File

@ -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;
});
}