Home  >  Q&A  >  body text

Admin adds question

Teacher, what should I do if there is no response when the administrator adds something?

image.png

image.png

cleanclean1691 days ago1185

reply all(3)I'll reply

  • 最后呢。

    最后呢。2021-01-02 11:36:25

    Hello, how did you solve this problem? I don’t think there is any problem. I feel that there is no problem with the code logic.

    reply
    0
  • clean

    clean2020-04-08 14:49:24

    Okay, thank you, I'll try it

    reply
    0
  • Sirius

    Sirius2020-04-08 14:40:22

    1. There is no corresponding code for $result that is not true.

    2. Directly add $request->param() to the database. There may be extra fields that the database does not have. Add another parameter. true

    $result = UserModel::create($request->param(), true);

    reply
    2
  • Cancelreply