Эх сурвалжийг харах

feat(promotion): 添加推广信息和团队成员列表功能

- 新增 RequestPromotionInfo 和 RequestPromotionList 请求类
- 新增 ResponsePromotionInfo 和 ResponsePromotionList 响应类
- 在 Request 和 Response 类中集成推广相关方法
- 更新 proto_route 配置,添加推广相关路由
notfff 7 сар өмнө
parent
commit
ed93b82a80

+ 2 - 1
AiWork/WORK.md

@@ -2,7 +2,8 @@
 
 
 ## 当前任务
 ## 当前任务
 
 
-无
+
+Farm模块正在移除Team相关内容,有残留,进行检查,移除残留
 
 
 ## 已完成任务(保留最新的10条,多余的删除)
 ## 已完成任务(保留最新的10条,多余的删除)
 
 

+ 1 - 0
app/Module/AppGame/Handler/Matchexchange/OpenHandler.php

@@ -12,6 +12,7 @@ use Illuminate\Support\Facades\Log;
 
 
 /**
 /**
  * 处理获取开放交易物品列表请求
  * 处理获取开放交易物品列表请求
+ *
  */
  */
 class OpenHandler extends BaseHandler
 class OpenHandler extends BaseHandler
 {
 {

+ 6 - 1
config/proto_route.php

@@ -62,6 +62,11 @@ return array (
       6 => 'train_save',
       6 => 'train_save',
       7 => 'vegeteal',
       7 => 'vegeteal',
     ),
     ),
+    'promotion' => 
+    array (
+      0 => 'info',
+      1 => 'list',
+    ),
     'public' => 
     'public' => 
     array (
     array (
       0 => 'check_code',
       0 => 'check_code',
@@ -100,7 +105,7 @@ return array (
       7 => 'query_data',
       7 => 'query_data',
     ),
     ),
   ),
   ),
-  'generated_at' => '+08:00 2025-06-13 16:51:21',
+  'generated_at' => '+08:00 2025-06-13 17:27:14',
   'conventions' => 
   'conventions' => 
   array (
   array (
     'handler_namespace' => 'App\\Module\\AppGame\\Handler',
     'handler_namespace' => 'App\\Module\\AppGame\\Handler',

+ 33 - 6
protophp/GPBMetadata/Proto/Game.php

@@ -16,8 +16,8 @@ class Game
         }
         }
         $pool->internalAddGeneratedFile(
         $pool->internalAddGeneratedFile(
             '
             '
-õ·
-proto/game.proto	uraus.kku"Ô<
+«¾
+proto/game.proto	uraus.kku"É>
 Request
 Request
 request_unid (	;
 request_unid (	;
 public_tokend (2%.uraus.kku.Request.RequestPublicToken;
 public_tokend (2%.uraus.kku.Request.RequestPublicToken;
@@ -86,7 +86,9 @@ shop_query
 matchexchange_addÍ (2*.uraus.kku.Request.RequestMatchexchangeAddL
 matchexchange_addÍ (2*.uraus.kku.Request.RequestMatchexchangeAddL
 matchexchange_cancelÎ (2-.uraus.kku.Request.RequestMatchexchangeCancelD
 matchexchange_cancelÎ (2-.uraus.kku.Request.RequestMatchexchangeCancelD
 matchexchange_myÏ (2).uraus.kku.Request.RequestMatchexchangeMyH
 matchexchange_myÏ (2).uraus.kku.Request.RequestMatchexchangeMyH
-matchexchange_openÐ (2+.uraus.kku.Request.RequestMatchexchangeOpen#
+matchexchange_openÐ (2+.uraus.kku.Request.RequestMatchexchangeOpen;
+	team_info°	 (2\'.uraus.kku.Request.RequestPromotionInfo;
+	team_list±	 (2\'.uraus.kku.Request.RequestPromotionList#
 RequestPublicToken
 RequestPublicToken
 times (6
 times (6
 RequestPublicLogin
 RequestPublicLogin
@@ -266,7 +268,12 @@ select_ids (.
 	direction (2.uraus.kku.Common.MEX_DIRECTION+
 	direction (2.uraus.kku.Common.MEX_DIRECTION+
 page (2.uraus.kku.Common.RequestPage)
 page (2.uraus.kku.Common.RequestPage)
 RequestMatchexchangeOpen
 RequestMatchexchangeOpen
-times ("ÝJ
+times (%
+RequestPromotionInfo
+times (R
+RequestPromotionList+
+page (2.uraus.kku.Common.RequestPage
+level ("žO
 Response
 Response
 run_unid (	
 run_unid (	
 run_ms (-
 run_ms (-
@@ -344,7 +351,9 @@ shop_query
 matchexchange_addÍ (2,.uraus.kku.Response.ResponseMatchexchangeAddN
 matchexchange_addÍ (2,.uraus.kku.Response.ResponseMatchexchangeAddN
 matchexchange_cancelÎ (2/.uraus.kku.Response.ResponseMatchexchangeCancelF
 matchexchange_cancelÎ (2/.uraus.kku.Response.ResponseMatchexchangeCancelF
 matchexchange_myÏ (2+.uraus.kku.Response.ResponseMatchexchangeMyJ
 matchexchange_myÏ (2+.uraus.kku.Response.ResponseMatchexchangeMyJ
-matchexchange_openÐ (2-.uraus.kku.Response.ResponseMatchexchangeOpen$
+matchexchange_openÐ (2-.uraus.kku.Response.ResponseMatchexchangeOpen=
+	team_info°	 (2).uraus.kku.Response.ResponsePromotionInfo=
+	team_list±	 (2).uraus.kku.Response.ResponsePromotionList$
 ResponsePublicToken
 ResponsePublicToken
 token (	u
 token (	u
 ResponsePublicLogin
 ResponsePublicLogin
@@ -554,7 +563,25 @@ last_times (
 times (,
 times (,
 status (2.uraus.kku.Common.MEX_STATUS
 status (2.uraus.kku.Common.MEX_STATUS
 num (2
 num (2
-	direction (2.uraus.kku.Common.MEX_DIRECTION"T
+	direction (2.uraus.kku.Common.MEX_DIRECTIONÁ
+ResponsePromotionInfo
+total_count (
+direct_count (
+indirect_count (
+day_recent_count (
+day_direct_count (
+active_count (
+direct_active_count (z
+ResponsePromotionList,
+page (2.uraus.kku.Common.ResponsePage3
+list (2%.uraus.kku.Response.PromotionListItem€
+PromotionListItem
+user_id (
+nickname (	
+avatar (	
+fund2 (
+contribution (
+house_level ("T
 FRIEDND_APPLY_STATUS
 FRIEDND_APPLY_STATUS
 FRIEDND_APPLY_SNONE
 FRIEDND_APPLY_SNONE
 APPLYING	
 APPLYING	

+ 92 - 0
protophp/Uraus/Kku/Request.php

@@ -409,6 +409,19 @@ class Request extends \Google\Protobuf\Internal\Message
      * Generated from protobuf field <code>.uraus.kku.Request.RequestMatchexchangeOpen matchexchange_open = 1104;</code>
      * Generated from protobuf field <code>.uraus.kku.Request.RequestMatchexchangeOpen matchexchange_open = 1104;</code>
      */
      */
     protected $matchexchange_open = null;
     protected $matchexchange_open = null;
+    /**
+     * 1200 +
+     * 推广 信息
+     *
+     * Generated from protobuf field <code>.uraus.kku.Request.RequestPromotionInfo team_info = 1200;</code>
+     */
+    protected $team_info = null;
+    /**
+     * 团队 成员列表
+     *
+     * Generated from protobuf field <code>.uraus.kku.Request.RequestPromotionList team_list = 1201;</code>
+     */
+    protected $team_list = null;
 
 
     /**
     /**
      * Constructor.
      * Constructor.
@@ -552,6 +565,11 @@ class Request extends \Google\Protobuf\Internal\Message
      *           我的挂单
      *           我的挂单
      *     @type \Uraus\Kku\Request\RequestMatchexchangeOpen $matchexchange_open
      *     @type \Uraus\Kku\Request\RequestMatchexchangeOpen $matchexchange_open
      *           获取开放的物品列表
      *           获取开放的物品列表
+     *     @type \Uraus\Kku\Request\RequestPromotionInfo $team_info
+     *           1200 +
+     *           推广 信息
+     *     @type \Uraus\Kku\Request\RequestPromotionList $team_list
+     *           团队 成员列表
      * }
      * }
      */
      */
     public function __construct($data = NULL) {
     public function __construct($data = NULL) {
@@ -2869,5 +2887,79 @@ class Request extends \Google\Protobuf\Internal\Message
         return $this;
         return $this;
     }
     }
 
 
+    /**
+     * 1200 +
+     * 推广 信息
+     *
+     * Generated from protobuf field <code>.uraus.kku.Request.RequestPromotionInfo team_info = 1200;</code>
+     * @return \Uraus\Kku\Request\RequestPromotionInfo
+     */
+    public function getTeamInfo()
+    {
+        return isset($this->team_info) ? $this->team_info : null;
+    }
+
+    public function hasTeamInfo()
+    {
+        return isset($this->team_info);
+    }
+
+    public function clearTeamInfo()
+    {
+        unset($this->team_info);
+    }
+
+    /**
+     * 1200 +
+     * 推广 信息
+     *
+     * Generated from protobuf field <code>.uraus.kku.Request.RequestPromotionInfo team_info = 1200;</code>
+     * @param \Uraus\Kku\Request\RequestPromotionInfo $var
+     * @return $this
+     */
+    public function setTeamInfo($var)
+    {
+        GPBUtil::checkMessage($var, \Uraus\Kku\Request\RequestPromotionInfo::class);
+        $this->team_info = $var;
+
+        return $this;
+    }
+
+    /**
+     * 团队 成员列表
+     *
+     * Generated from protobuf field <code>.uraus.kku.Request.RequestPromotionList team_list = 1201;</code>
+     * @return \Uraus\Kku\Request\RequestPromotionList
+     */
+    public function getTeamList()
+    {
+        return isset($this->team_list) ? $this->team_list : null;
+    }
+
+    public function hasTeamList()
+    {
+        return isset($this->team_list);
+    }
+
+    public function clearTeamList()
+    {
+        unset($this->team_list);
+    }
+
+    /**
+     * 团队 成员列表
+     *
+     * Generated from protobuf field <code>.uraus.kku.Request.RequestPromotionList team_list = 1201;</code>
+     * @param \Uraus\Kku\Request\RequestPromotionList $var
+     * @return $this
+     */
+    public function setTeamList($var)
+    {
+        GPBUtil::checkMessage($var, \Uraus\Kku\Request\RequestPromotionList::class);
+        $this->team_list = $var;
+
+        return $this;
+    }
+
 }
 }
 
 

+ 70 - 0
protophp/Uraus/Kku/Request/RequestPromotionInfo.php

@@ -0,0 +1,70 @@
+<?php
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: proto/game.proto
+
+namespace Uraus\Kku\Request;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * 团队 信息
+ *
+ * Generated from protobuf message <code>uraus.kku.Request.RequestPromotionInfo</code>
+ */
+class RequestPromotionInfo extends \Google\Protobuf\Internal\Message
+{
+    /**
+     * 时间戳
+     *
+     * Generated from protobuf field <code>int64 times = 1;</code>
+     */
+    protected $times = 0;
+
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type int|string $times
+     *           时间戳
+     * }
+     */
+    public function __construct($data = NULL) {
+        \GPBMetadata\Proto\Game::initOnce();
+        parent::__construct($data);
+    }
+
+    /**
+     * 时间戳
+     *
+     * Generated from protobuf field <code>int64 times = 1;</code>
+     * @return int|string
+     */
+    public function getTimes()
+    {
+        return $this->times;
+    }
+
+    /**
+     * 时间戳
+     *
+     * Generated from protobuf field <code>int64 times = 1;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setTimes($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->times = $var;
+
+        return $this;
+    }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(RequestPromotionInfo::class, \Uraus\Kku\Request_RequestPromotionInfo::class);
+

+ 114 - 0
protophp/Uraus/Kku/Request/RequestPromotionList.php

@@ -0,0 +1,114 @@
+<?php
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: proto/game.proto
+
+namespace Uraus\Kku\Request;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ *  推广 成员列表
+ *
+ * Generated from protobuf message <code>uraus.kku.Request.RequestPromotionList</code>
+ */
+class RequestPromotionList extends \Google\Protobuf\Internal\Message
+{
+    /**
+     * 分页
+     *
+     * Generated from protobuf field <code>.uraus.kku.Common.RequestPage page = 1;</code>
+     */
+    protected $page = null;
+    /**
+     * 等级
+     *
+     * Generated from protobuf field <code>int64 level = 2;</code>
+     */
+    protected $level = 0;
+
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type \Uraus\Kku\Common\RequestPage $page
+     *           分页
+     *     @type int|string $level
+     *           等级
+     * }
+     */
+    public function __construct($data = NULL) {
+        \GPBMetadata\Proto\Game::initOnce();
+        parent::__construct($data);
+    }
+
+    /**
+     * 分页
+     *
+     * Generated from protobuf field <code>.uraus.kku.Common.RequestPage page = 1;</code>
+     * @return \Uraus\Kku\Common\RequestPage
+     */
+    public function getPage()
+    {
+        return isset($this->page) ? $this->page : null;
+    }
+
+    public function hasPage()
+    {
+        return isset($this->page);
+    }
+
+    public function clearPage()
+    {
+        unset($this->page);
+    }
+
+    /**
+     * 分页
+     *
+     * Generated from protobuf field <code>.uraus.kku.Common.RequestPage page = 1;</code>
+     * @param \Uraus\Kku\Common\RequestPage $var
+     * @return $this
+     */
+    public function setPage($var)
+    {
+        GPBUtil::checkMessage($var, \Uraus\Kku\Common\RequestPage::class);
+        $this->page = $var;
+
+        return $this;
+    }
+
+    /**
+     * 等级
+     *
+     * Generated from protobuf field <code>int64 level = 2;</code>
+     * @return int|string
+     */
+    public function getLevel()
+    {
+        return $this->level;
+    }
+
+    /**
+     * 等级
+     *
+     * Generated from protobuf field <code>int64 level = 2;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setLevel($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->level = $var;
+
+        return $this;
+    }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(RequestPromotionList::class, \Uraus\Kku\Request_RequestPromotionList::class);
+

+ 16 - 0
protophp/Uraus/Kku/Request_RequestPromotionInfo.php

@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: proto/game.proto
+
+namespace Uraus\Kku;
+
+if (false) {
+    /**
+     * This class is deprecated. Use Uraus\Kku\Request\RequestPromotionInfo instead.
+     * @deprecated
+     */
+    class Request_RequestPromotionInfo {}
+}
+class_exists(Request\RequestPromotionInfo::class);
+@trigger_error('Uraus\Kku\Request_RequestPromotionInfo is deprecated and will be removed in the next major release. Use Uraus\Kku\Request\RequestPromotionInfo instead', E_USER_DEPRECATED);
+

+ 16 - 0
protophp/Uraus/Kku/Request_RequestPromotionList.php

@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: proto/game.proto
+
+namespace Uraus\Kku;
+
+if (false) {
+    /**
+     * This class is deprecated. Use Uraus\Kku\Request\RequestPromotionList instead.
+     * @deprecated
+     */
+    class Request_RequestPromotionList {}
+}
+class_exists(Request\RequestPromotionList::class);
+@trigger_error('Uraus\Kku\Request_RequestPromotionList is deprecated and will be removed in the next major release. Use Uraus\Kku\Request\RequestPromotionList instead', E_USER_DEPRECATED);
+

+ 85 - 0
protophp/Uraus/Kku/Response.php

@@ -487,6 +487,17 @@ class Response extends \Google\Protobuf\Internal\Message
      * Generated from protobuf field <code>.uraus.kku.Response.ResponseMatchexchangeOpen matchexchange_open = 1104;</code>
      * Generated from protobuf field <code>.uraus.kku.Response.ResponseMatchexchangeOpen matchexchange_open = 1104;</code>
      */
      */
     protected $matchexchange_open = null;
     protected $matchexchange_open = null;
+    /**
+     * 1200 +
+     * 团队信息
+     *
+     * Generated from protobuf field <code>.uraus.kku.Response.ResponsePromotionInfo team_info = 1200;</code>
+     */
+    protected $team_info = null;
+    /**
+     * Generated from protobuf field <code>.uraus.kku.Response.ResponsePromotionList team_list = 1201;</code>
+     */
+    protected $team_list = null;
 
 
     /**
     /**
      * Constructor.
      * Constructor.
@@ -675,6 +686,10 @@ class Response extends \Google\Protobuf\Internal\Message
      *           我的挂单
      *           我的挂单
      *     @type \Uraus\Kku\Response\ResponseMatchexchangeOpen $matchexchange_open
      *     @type \Uraus\Kku\Response\ResponseMatchexchangeOpen $matchexchange_open
      *           开放交易的物品列表
      *           开放交易的物品列表
+     *     @type \Uraus\Kku\Response\ResponsePromotionInfo $team_info
+     *           1200 +
+     *           团队信息
+     *     @type \Uraus\Kku\Response\ResponsePromotionList $team_list
      * }
      * }
      */
      */
     public function __construct($data = NULL) {
     public function __construct($data = NULL) {
@@ -3308,5 +3323,75 @@ class Response extends \Google\Protobuf\Internal\Message
         return $this;
         return $this;
     }
     }
 
 
+    /**
+     * 1200 +
+     * 团队信息
+     *
+     * Generated from protobuf field <code>.uraus.kku.Response.ResponsePromotionInfo team_info = 1200;</code>
+     * @return \Uraus\Kku\Response\ResponsePromotionInfo
+     */
+    public function getTeamInfo()
+    {
+        return isset($this->team_info) ? $this->team_info : null;
+    }
+
+    public function hasTeamInfo()
+    {
+        return isset($this->team_info);
+    }
+
+    public function clearTeamInfo()
+    {
+        unset($this->team_info);
+    }
+
+    /**
+     * 1200 +
+     * 团队信息
+     *
+     * Generated from protobuf field <code>.uraus.kku.Response.ResponsePromotionInfo team_info = 1200;</code>
+     * @param \Uraus\Kku\Response\ResponsePromotionInfo $var
+     * @return $this
+     */
+    public function setTeamInfo($var)
+    {
+        GPBUtil::checkMessage($var, \Uraus\Kku\Response\ResponsePromotionInfo::class);
+        $this->team_info = $var;
+
+        return $this;
+    }
+
+    /**
+     * Generated from protobuf field <code>.uraus.kku.Response.ResponsePromotionList team_list = 1201;</code>
+     * @return \Uraus\Kku\Response\ResponsePromotionList
+     */
+    public function getTeamList()
+    {
+        return isset($this->team_list) ? $this->team_list : null;
+    }
+
+    public function hasTeamList()
+    {
+        return isset($this->team_list);
+    }
+
+    public function clearTeamList()
+    {
+        unset($this->team_list);
+    }
+
+    /**
+     * Generated from protobuf field <code>.uraus.kku.Response.ResponsePromotionList team_list = 1201;</code>
+     * @param \Uraus\Kku\Response\ResponsePromotionList $var
+     * @return $this
+     */
+    public function setTeamList($var)
+    {
+        GPBUtil::checkMessage($var, \Uraus\Kku\Response\ResponsePromotionList::class);
+        $this->team_list = $var;
+
+        return $this;
+    }
+
 }
 }
 
 

+ 240 - 0
protophp/Uraus/Kku/Response/PromotionListItem.php

@@ -0,0 +1,240 @@
+<?php
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: proto/game.proto
+
+namespace Uraus\Kku\Response;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * 团队列表项
+ *
+ * Generated from protobuf message <code>uraus.kku.Response.PromotionListItem</code>
+ */
+class PromotionListItem extends \Google\Protobuf\Internal\Message
+{
+    /**
+     * 用户ID
+     *
+     * Generated from protobuf field <code>int64 user_id = 1;</code>
+     */
+    protected $user_id = 0;
+    /**
+     * 昵称
+     *
+     * Generated from protobuf field <code>string nickname = 2;</code>
+     */
+    protected $nickname = '';
+    /**
+     * 头像
+     *
+     * Generated from protobuf field <code>string avatar = 3;</code>
+     */
+    protected $avatar = '';
+    /**
+     * 财富
+     *
+     * Generated from protobuf field <code>int64 fund2 = 4;</code>
+     */
+    protected $fund2 = 0;
+    /**
+     * 贡献
+     *
+     * Generated from protobuf field <code>int64 contribution = 5;</code>
+     */
+    protected $contribution = 0;
+    /**
+     * 房屋等级
+     *
+     * Generated from protobuf field <code>int64 house_level = 6;</code>
+     */
+    protected $house_level = 0;
+
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type int|string $user_id
+     *           用户ID
+     *     @type string $nickname
+     *           昵称
+     *     @type string $avatar
+     *           头像
+     *     @type int|string $fund2
+     *           财富
+     *     @type int|string $contribution
+     *           贡献
+     *     @type int|string $house_level
+     *           房屋等级
+     * }
+     */
+    public function __construct($data = NULL) {
+        \GPBMetadata\Proto\Game::initOnce();
+        parent::__construct($data);
+    }
+
+    /**
+     * 用户ID
+     *
+     * Generated from protobuf field <code>int64 user_id = 1;</code>
+     * @return int|string
+     */
+    public function getUserId()
+    {
+        return $this->user_id;
+    }
+
+    /**
+     * 用户ID
+     *
+     * Generated from protobuf field <code>int64 user_id = 1;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setUserId($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->user_id = $var;
+
+        return $this;
+    }
+
+    /**
+     * 昵称
+     *
+     * Generated from protobuf field <code>string nickname = 2;</code>
+     * @return string
+     */
+    public function getNickname()
+    {
+        return $this->nickname;
+    }
+
+    /**
+     * 昵称
+     *
+     * Generated from protobuf field <code>string nickname = 2;</code>
+     * @param string $var
+     * @return $this
+     */
+    public function setNickname($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->nickname = $var;
+
+        return $this;
+    }
+
+    /**
+     * 头像
+     *
+     * Generated from protobuf field <code>string avatar = 3;</code>
+     * @return string
+     */
+    public function getAvatar()
+    {
+        return $this->avatar;
+    }
+
+    /**
+     * 头像
+     *
+     * Generated from protobuf field <code>string avatar = 3;</code>
+     * @param string $var
+     * @return $this
+     */
+    public function setAvatar($var)
+    {
+        GPBUtil::checkString($var, True);
+        $this->avatar = $var;
+
+        return $this;
+    }
+
+    /**
+     * 财富
+     *
+     * Generated from protobuf field <code>int64 fund2 = 4;</code>
+     * @return int|string
+     */
+    public function getFund2()
+    {
+        return $this->fund2;
+    }
+
+    /**
+     * 财富
+     *
+     * Generated from protobuf field <code>int64 fund2 = 4;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setFund2($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->fund2 = $var;
+
+        return $this;
+    }
+
+    /**
+     * 贡献
+     *
+     * Generated from protobuf field <code>int64 contribution = 5;</code>
+     * @return int|string
+     */
+    public function getContribution()
+    {
+        return $this->contribution;
+    }
+
+    /**
+     * 贡献
+     *
+     * Generated from protobuf field <code>int64 contribution = 5;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setContribution($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->contribution = $var;
+
+        return $this;
+    }
+
+    /**
+     * 房屋等级
+     *
+     * Generated from protobuf field <code>int64 house_level = 6;</code>
+     * @return int|string
+     */
+    public function getHouseLevel()
+    {
+        return $this->house_level;
+    }
+
+    /**
+     * 房屋等级
+     *
+     * Generated from protobuf field <code>int64 house_level = 6;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setHouseLevel($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->house_level = $var;
+
+        return $this;
+    }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(PromotionListItem::class, \Uraus\Kku\Response_PromotionListItem::class);
+

+ 275 - 0
protophp/Uraus/Kku/Response/ResponsePromotionInfo.php

@@ -0,0 +1,275 @@
+<?php
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: proto/game.proto
+
+namespace Uraus\Kku\Response;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ **
+ * 推广信息
+ *
+ * Generated from protobuf message <code>uraus.kku.Response.ResponsePromotionInfo</code>
+ */
+class ResponsePromotionInfo extends \Google\Protobuf\Internal\Message
+{
+    /**
+     * 总人数
+     *
+     * Generated from protobuf field <code>int64 total_count = 1;</code>
+     */
+    protected $total_count = 0;
+    /**
+     * 直推人数
+     *
+     * Generated from protobuf field <code>int64 direct_count = 2;</code>
+     */
+    protected $direct_count = 0;
+    /**
+     * 间推人数
+     *
+     * Generated from protobuf field <code>int64 indirect_count = 3;</code>
+     */
+    protected $indirect_count = 0;
+    /**
+     * 近日 团队新增
+     *
+     * Generated from protobuf field <code>int64 day_recent_count = 4;</code>
+     */
+    protected $day_recent_count = 0;
+    /**
+     * 今日 直推新增
+     *
+     * Generated from protobuf field <code>int64 day_direct_count = 5;</code>
+     */
+    protected $day_direct_count = 0;
+    /**
+     * 团队活跃人数
+     *
+     * Generated from protobuf field <code>int64 active_count = 6;</code>
+     */
+    protected $active_count = 0;
+    /**
+     * 直推活跃人数
+     *
+     * Generated from protobuf field <code>int64 direct_active_count = 7;</code>
+     */
+    protected $direct_active_count = 0;
+
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type int|string $total_count
+     *           总人数
+     *     @type int|string $direct_count
+     *           直推人数
+     *     @type int|string $indirect_count
+     *           间推人数
+     *     @type int|string $day_recent_count
+     *           近日 团队新增
+     *     @type int|string $day_direct_count
+     *           今日 直推新增
+     *     @type int|string $active_count
+     *           团队活跃人数
+     *     @type int|string $direct_active_count
+     *           直推活跃人数
+     * }
+     */
+    public function __construct($data = NULL) {
+        \GPBMetadata\Proto\Game::initOnce();
+        parent::__construct($data);
+    }
+
+    /**
+     * 总人数
+     *
+     * Generated from protobuf field <code>int64 total_count = 1;</code>
+     * @return int|string
+     */
+    public function getTotalCount()
+    {
+        return $this->total_count;
+    }
+
+    /**
+     * 总人数
+     *
+     * Generated from protobuf field <code>int64 total_count = 1;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setTotalCount($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->total_count = $var;
+
+        return $this;
+    }
+
+    /**
+     * 直推人数
+     *
+     * Generated from protobuf field <code>int64 direct_count = 2;</code>
+     * @return int|string
+     */
+    public function getDirectCount()
+    {
+        return $this->direct_count;
+    }
+
+    /**
+     * 直推人数
+     *
+     * Generated from protobuf field <code>int64 direct_count = 2;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setDirectCount($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->direct_count = $var;
+
+        return $this;
+    }
+
+    /**
+     * 间推人数
+     *
+     * Generated from protobuf field <code>int64 indirect_count = 3;</code>
+     * @return int|string
+     */
+    public function getIndirectCount()
+    {
+        return $this->indirect_count;
+    }
+
+    /**
+     * 间推人数
+     *
+     * Generated from protobuf field <code>int64 indirect_count = 3;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setIndirectCount($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->indirect_count = $var;
+
+        return $this;
+    }
+
+    /**
+     * 近日 团队新增
+     *
+     * Generated from protobuf field <code>int64 day_recent_count = 4;</code>
+     * @return int|string
+     */
+    public function getDayRecentCount()
+    {
+        return $this->day_recent_count;
+    }
+
+    /**
+     * 近日 团队新增
+     *
+     * Generated from protobuf field <code>int64 day_recent_count = 4;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setDayRecentCount($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->day_recent_count = $var;
+
+        return $this;
+    }
+
+    /**
+     * 今日 直推新增
+     *
+     * Generated from protobuf field <code>int64 day_direct_count = 5;</code>
+     * @return int|string
+     */
+    public function getDayDirectCount()
+    {
+        return $this->day_direct_count;
+    }
+
+    /**
+     * 今日 直推新增
+     *
+     * Generated from protobuf field <code>int64 day_direct_count = 5;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setDayDirectCount($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->day_direct_count = $var;
+
+        return $this;
+    }
+
+    /**
+     * 团队活跃人数
+     *
+     * Generated from protobuf field <code>int64 active_count = 6;</code>
+     * @return int|string
+     */
+    public function getActiveCount()
+    {
+        return $this->active_count;
+    }
+
+    /**
+     * 团队活跃人数
+     *
+     * Generated from protobuf field <code>int64 active_count = 6;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setActiveCount($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->active_count = $var;
+
+        return $this;
+    }
+
+    /**
+     * 直推活跃人数
+     *
+     * Generated from protobuf field <code>int64 direct_active_count = 7;</code>
+     * @return int|string
+     */
+    public function getDirectActiveCount()
+    {
+        return $this->direct_active_count;
+    }
+
+    /**
+     * 直推活跃人数
+     *
+     * Generated from protobuf field <code>int64 direct_active_count = 7;</code>
+     * @param int|string $var
+     * @return $this
+     */
+    public function setDirectActiveCount($var)
+    {
+        GPBUtil::checkInt64($var);
+        $this->direct_active_count = $var;
+
+        return $this;
+    }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ResponsePromotionInfo::class, \Uraus\Kku\Response_ResponsePromotionInfo::class);
+

+ 114 - 0
protophp/Uraus/Kku/Response/ResponsePromotionList.php

@@ -0,0 +1,114 @@
+<?php
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: proto/game.proto
+
+namespace Uraus\Kku\Response;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * 推广团队成员 列表
+ *
+ * Generated from protobuf message <code>uraus.kku.Response.ResponsePromotionList</code>
+ */
+class ResponsePromotionList extends \Google\Protobuf\Internal\Message
+{
+    /**
+     * 分页
+     *
+     * Generated from protobuf field <code>.uraus.kku.Common.ResponsePage page = 1;</code>
+     */
+    protected $page = null;
+    /**
+     * 列表项
+     *
+     * Generated from protobuf field <code>repeated .uraus.kku.Response.PromotionListItem list = 2;</code>
+     */
+    private $list;
+
+    /**
+     * Constructor.
+     *
+     * @param array $data {
+     *     Optional. Data for populating the Message object.
+     *
+     *     @type \Uraus\Kku\Common\ResponsePage $page
+     *           分页
+     *     @type \Uraus\Kku\Response\PromotionListItem[]|\Google\Protobuf\Internal\RepeatedField $list
+     *           列表项
+     * }
+     */
+    public function __construct($data = NULL) {
+        \GPBMetadata\Proto\Game::initOnce();
+        parent::__construct($data);
+    }
+
+    /**
+     * 分页
+     *
+     * Generated from protobuf field <code>.uraus.kku.Common.ResponsePage page = 1;</code>
+     * @return \Uraus\Kku\Common\ResponsePage
+     */
+    public function getPage()
+    {
+        return isset($this->page) ? $this->page : null;
+    }
+
+    public function hasPage()
+    {
+        return isset($this->page);
+    }
+
+    public function clearPage()
+    {
+        unset($this->page);
+    }
+
+    /**
+     * 分页
+     *
+     * Generated from protobuf field <code>.uraus.kku.Common.ResponsePage page = 1;</code>
+     * @param \Uraus\Kku\Common\ResponsePage $var
+     * @return $this
+     */
+    public function setPage($var)
+    {
+        GPBUtil::checkMessage($var, \Uraus\Kku\Common\ResponsePage::class);
+        $this->page = $var;
+
+        return $this;
+    }
+
+    /**
+     * 列表项
+     *
+     * Generated from protobuf field <code>repeated .uraus.kku.Response.PromotionListItem list = 2;</code>
+     * @return \Google\Protobuf\Internal\RepeatedField
+     */
+    public function getList()
+    {
+        return $this->list;
+    }
+
+    /**
+     * 列表项
+     *
+     * Generated from protobuf field <code>repeated .uraus.kku.Response.PromotionListItem list = 2;</code>
+     * @param \Uraus\Kku\Response\PromotionListItem[]|\Google\Protobuf\Internal\RepeatedField $var
+     * @return $this
+     */
+    public function setList($var)
+    {
+        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Uraus\Kku\Response\PromotionListItem::class);
+        $this->list = $arr;
+
+        return $this;
+    }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ResponsePromotionList::class, \Uraus\Kku\Response_ResponsePromotionList::class);
+

+ 16 - 0
protophp/Uraus/Kku/Response_PromotionListItem.php

@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: proto/game.proto
+
+namespace Uraus\Kku;
+
+if (false) {
+    /**
+     * This class is deprecated. Use Uraus\Kku\Response\PromotionListItem instead.
+     * @deprecated
+     */
+    class Response_PromotionListItem {}
+}
+class_exists(Response\PromotionListItem::class);
+@trigger_error('Uraus\Kku\Response_PromotionListItem is deprecated and will be removed in the next major release. Use Uraus\Kku\Response\PromotionListItem instead', E_USER_DEPRECATED);
+

+ 16 - 0
protophp/Uraus/Kku/Response_ResponsePromotionInfo.php

@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: proto/game.proto
+
+namespace Uraus\Kku;
+
+if (false) {
+    /**
+     * This class is deprecated. Use Uraus\Kku\Response\ResponsePromotionInfo instead.
+     * @deprecated
+     */
+    class Response_ResponsePromotionInfo {}
+}
+class_exists(Response\ResponsePromotionInfo::class);
+@trigger_error('Uraus\Kku\Response_ResponsePromotionInfo is deprecated and will be removed in the next major release. Use Uraus\Kku\Response\ResponsePromotionInfo instead', E_USER_DEPRECATED);
+

+ 16 - 0
protophp/Uraus/Kku/Response_ResponsePromotionList.php

@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: proto/game.proto
+
+namespace Uraus\Kku;
+
+if (false) {
+    /**
+     * This class is deprecated. Use Uraus\Kku\Response\ResponsePromotionList instead.
+     * @deprecated
+     */
+    class Response_ResponsePromotionList {}
+}
+class_exists(Response\ResponsePromotionList::class);
+@trigger_error('Uraus\Kku\Response_ResponsePromotionList is deprecated and will be removed in the next major release. Use Uraus\Kku\Response\ResponsePromotionList instead', E_USER_DEPRECATED);
+