$field = M('GoodsAttr')->getDbFields();
得到结果:
[field] => Array
(
[0] => goods_attr_id
[1] => goods_id
[2] => attr_id
[3] => attr_value
[4] => attr_price
)
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号