_getSelfMysql(), 't_bigdata', array( 'account_id' => myself()->_getAccountId(), 'type' => $type, ) ); return $row ? json_decode($row['data'], true) : null; } public static function setData($type, $data) { SqlHelper::upsert (myself()->_getSelfMysql(), 't_bigdata', array( 'account_id' => myself()->_getAccountId(), 'type' => $type ), array( 'data' => $data, 'modifytime' => myself()->_getNowTime() ), array( 'account_id' => myself()->_getAccountId(), 'type' => $type, 'data' => $data, 'createtime' => myself()->_getNowTime(), 'modifytime' => myself()->_getNowTime() ) ); } }