Commit 8989c0c2 by 杨树贤

修改amount直接从主表获取(主表的才是正确的)

parent ef9842cd
...@@ -14,7 +14,7 @@ class IntegralBillTransformer ...@@ -14,7 +14,7 @@ class IntegralBillTransformer
'id' => array_get($value, 'id'), 'id' => array_get($value, 'id'),
'name' => array_get($value['integral'], 'name'), 'name' => array_get($value['integral'], 'name'),
'add_time' => array_get($value, 'add_time'), 'add_time' => array_get($value, 'add_time'),
'amount' => array_get($value['integral'], 'amount'), 'amount' => array_get($value, 'amount'),
]; ];
} }
} }
......
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 sign in to comment