This commit is contained in:
hujiabin 2023-04-08 12:39:54 +08:00
parent 24bcbc0b2c
commit 1ccfe76946
2 changed files with 13 additions and 3 deletions

View File

@ -216,9 +216,19 @@ class ChipPage extends BaseModel
'createtime' => myself()->_getNowTime(),
'modifytime' => myself()->_getNowTime(),
);
SqlHelper::insert(
myself()->_getSelfMysql(),
// SqlHelper::insert(
// myself()->_getSelfMysql(),
// 't_chip_page',
// $info
// );
SqlHelper::upsert
(myself()->_getSelfMysql(),
't_chip_page',
array(
'account_id' => myself()->_getAccountId(),
'page_id' => $page_id,
),
array(),
$info
);
}

View File

@ -6,7 +6,7 @@ use phpcommon;
class Skill {
const DEFAULT_SKILL = 10401;
const DEFAULT_SKILL = 10101;
public static function get($id)
{
return getXVal(self::getMetaList(), $id);