search

Home  >  Q&A  >  body text

Why can’t I close the reference to the template, and there is no feedback after successfully modifying the administrator information?

{extend name='public/base'/}
{block name='header'}{/block} {//Turn off the header}
{block name='menu'}{/ block} {//Close the menu}

Administrator edit page code

if (true == $result) {
return ['status'=>1, ' message'=>'Update successful'];
} else {
return ['status'=>0, 'message'=>'Update failed, please check'];
}


JerryJerry2493 days ago1234

reply all(2)I'll reply

  • 韦小宝

    韦小宝2018-01-27 10:20:48

    Is there no response or will an error be reported?


    reply
    0
  • Jerry

    There is no response and no error is reported. But it can be modified successfully

    Jerry · 2018-01-27 20:01:54
  • Cancelreply