Commit 96c4da99 by 冷斌

add

parent c6f4056f
......@@ -51,10 +51,8 @@ class WelfareController extends AdminbaseController
$data = [];
$gifts = $this->getGift();
foreach ($gifts as $gift) {
$data[$gift['id']] = $gift['name'];
$data[$gift['id']] = $gift['giftname'];
}
var_dump(1, $gifts, $data);
die;
return $data;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment