From 6b3db807ce1b54e4d1d006983fd5f0c720113fc8 Mon Sep 17 00:00:00 2001 From: wangwei01 Date: Tue, 16 Jul 2019 11:57:20 +0800 Subject: [PATCH] 1 --- webapp/controller/ShareController.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp/controller/ShareController.class.php b/webapp/controller/ShareController.class.php index b2f5d89..ce917db 100644 --- a/webapp/controller/ShareController.class.php +++ b/webapp/controller/ShareController.class.php @@ -266,9 +266,13 @@ class ShareController{ } } else { foreach ($rows as $row) { + $sh = $this->getShare($ach_id); + $array = $this->getExplode($sh['rewards']); array_push($info_list, array( 'achivement_id' => $row['ach_id'], - 'status' => $row['status'] + 'status' => $row['status'], + 'item_id' => $array[0][0], + 'num' => $array[0][1], )); } }