Home  >  Q&A  >  body text

Session::set('user_info',$user->getData());//Get all user information

Excuse me

Where can I find the

getData() method of this line of code in User.php

SarahSarah2575 days ago1454

reply all(1)I'll reply

  • 长江啊你全是水

    长江啊你全是水2017-09-04 15:23:59

    $user is an instance of moudel. Do you have to define the getData method in application/index/model/User.php

    reply
    0
  • Cancelreply