2016-06-28 14:03:12 5788次浏览 3条回答 1 悬赏 20 金钱

是object类型,不是std Object这种
如下:

object(test\myyii\models\Customer)#67 (8) { ["_attributes":"yii\db\BaseActiveRecord":private]=> array(7) { ["id"]=> int(7) ["username"]=> string(6) "老王" ["admin_id"]=> string(1) "0" ["company_id"]=> string(1) "2" ["id_card"]=> string(18) "510321199201012234" ["telphone"]=> string(11) "15877556633" ["created_at"]=> int(1467104334) } ["_oldAttributes":"yii\db\BaseActiveRecord":private]=> array(7) { ["id"]=> int(7) ["username"]=> string(6) "老王" ["admin_id"]=> string(1) "0" ["company_id"]=> string(1) "2" ["id_card"]=> string(18) "510321199201012234" ["telphone"]=> string(11) "15877556633" ["created_at"]=> int(1467104334) } ["_related":"yii\db\BaseActiveRecord":private]=> array(0) { } ["_errors":"yii\base\Model":private]=> NULL ["_validators":"yii\base\Model":private]=> NULL ["_scenario":"yii\base\Model":private]=> string(7) "default" ["_events":"yii\base\Component":private]=> array(0) { } ["_behaviors":"yii\base\Component":private]=> array(0) { } }

最佳答案

您需要登录后才可以回答。登录 | 立即注册
hebo5485
副总裁

hebo5485

注册时间:2016-03-18
最后登录:2024-04-05
在线时长:66小时28分
  • 粉丝8
  • 金钱4600
  • 威望30
  • 积分5560

热门问题