|
|
|
@ -228,6 +228,11 @@ class GameController extends ThinkController
|
|
|
|
|
->field("real_name")
|
|
|
|
|
->where(['uid' => I('post.game_belong_id')])
|
|
|
|
|
->find()['real_name'];
|
|
|
|
|
|
|
|
|
|
if(!$realname) {
|
|
|
|
|
$realname = '';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$_POST['game_belong_name'] =$realname;
|
|
|
|
|
|
|
|
|
|
$game = D(self::model_name);//M('$this->$model_name','tab_');
|
|
|
|
@ -427,6 +432,11 @@ ADD COLUMN `kefu_qq` varchar(255) NULL DEFAULT '' COMMENT 'kefu_qq_type为2 时
|
|
|
|
|
->field("real_name")
|
|
|
|
|
->where(['uid' => I('post.game_belong_id')])
|
|
|
|
|
->find()['real_name'];
|
|
|
|
|
|
|
|
|
|
if(!$realname) {
|
|
|
|
|
$realname = '';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$_POST['game_belong_name'] =$realname;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|