Jump to content

1: Inherit the import method in the controller

Edit file: application\admin\controller\xxx.php

public function import(){

return parent:import(); 2: Add import_url to the corresponding JS of the module, as follows

import_url: 'class7/import',q1lh5aussyb3697.png

In fact, in the new version, these are all added well. You don't need to add it.

Three: Add the import button in index.html.

a href='javascript:' class='btn btn-info btn-import {:$auth-check('class7/import')?'':'hide'}' title='{:__('import')}' i class='fa fa-arrow-circle-o-up'/i {:__('import')}/aThe effect is as follows3lsus5r5k543698.png

Four: Importing skills

Import according to fields or comments in the database.逍遥子大表哥

0 Comments

Recommended Comments

There are no comments to display.

Guest
Add a comment...