Commit 3346f850 authored by tufengqi's avatar tufengqi

set platform id

parent 330c149e
......@@ -12,15 +12,26 @@ use yii\web\Request;
class BaseRequest extends Request
{
private $otc_user_id = null;
private $user_id = 0;
private $platform_id = 0;
public function getUserId()
{
return $this->otc_user_id;
return $this->user_id;
}
public function setUserId($value)
{
$this->otc_user_id = $value;
$this->user_id = $value;
}
public function getPlatformId()
{
return $this->platform_id;
}
public function setPlatformId($value)
{
$this->platform_id = $value;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment