更新第三方登录插件扩展

This commit is contained in:
2020-04-19 21:03:28 +08:00
parent 48d8de4946
commit 1a68cddd1c
18 changed files with 793 additions and 53 deletions

View File

@@ -101,9 +101,8 @@ class Model extends \think\Model{
(new Attribute())->where('model_id', $data['id'])->delete();
$db = new \com\Datatable();
if ($db->CheckTable($data['name'])) {
$result = $db->delTable($data['name'])->query();
$db->delTable($data['name'])->query();
}
return $result;
}
protected function setAttributeSortAttr($value) {