From ab4bcf3ad2f72c572d42b3daa64de560e8953644 Mon Sep 17 00:00:00 2001 From: songliang Date: Wed, 28 Jun 2023 17:26:00 +0800 Subject: [PATCH] ... --- doc/_common.py | 2 +- webapp/controller/ShopController.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/_common.py b/doc/_common.py index 6b031de1..f686f202 100644 --- a/doc/_common.py +++ b/doc/_common.py @@ -1225,5 +1225,5 @@ class BlindBoxResult(object): def __init__(self): self.fields = [ ['item_id', 0, 'item_id'], - ['num', 0, 'num'], + ['item_num', 0, 'item_num'], ] \ No newline at end of file diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index c052d061..763fd6be 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -1182,7 +1182,7 @@ class ShopController extends BaseAuthedController } } - $record[$key] = array( "item_id" => $item['item_id'], "num" => $item['num'] ); + $record[$key] = array( "item_id" => $item['item_id'], "item_num" => $item['num'] ); } array_push($result, $record); }