* add new version and upgrade.

This commit is contained in:
z
2020-11-19 11:20:03 +08:00
parent 4b20ebefbe
commit 5362b9367f
34 changed files with 1386 additions and 76 deletions
+8 -1
View File
@@ -19,7 +19,14 @@ class custom extends control
*/
public function index()
{
die(js::locate(inlink('set')));
if(common::hasPriv('custom', 'product')) die(js::locate(inlink('product')));
if(common::hasPriv('custom', 'project')) die(js::locate(inlink('project')));
if(common::hasPriv('custom', 'set')) die(js::locate(inlink('set')));
foreach($this->lang->custom->system as $sysObject)
{
if(common::hasPriv('custom', $sysObject)) die(js::locate(inlink($sysObject)));
}
}
/**