Home  >  Q&A  >  body text

tp5.0peter z’s teaching management practical project courseware code problem??

QQ图片20170929151817.png

QQ图片20170929151737.png

I want to change the data table student to user. I don’t know how to change the solution? ? ? ? ? I don’t know how to quote the data table



虚无之境虚无之境2562 days ago1126

reply all(1)I'll reply

  • 虚无之境

    虚无之境2017-09-29 16:23:18

    Solved, just add protect $table='user'; in the model. The underlying package of tp5.0 automatically customizes the data table name according to the model name

    reply
    0
  • Cancelreply