This commit is contained in:
songliang 2023-06-28 17:26:00 +08:00
parent 32b25aa996
commit ab4bcf3ad2
2 changed files with 2 additions and 2 deletions

View File

@ -1225,5 +1225,5 @@ class BlindBoxResult(object):
def __init__(self): def __init__(self):
self.fields = [ self.fields = [
['item_id', 0, 'item_id'], ['item_id', 0, 'item_id'],
['num', 0, 'num'], ['item_num', 0, 'item_num'],
] ]

View File

@ -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); array_push($result, $record);
} }