mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 04:12:18 +09:00
member_devices 스키마 수정,
ProcMemberLogingWithDevice 에서도 유저 정보 반환, getDeviceTokens()에서 쿼리할 때 device_type 조건 추가
This commit is contained in:
parent
f9521d4d93
commit
93f1d15a48
3 changed files with 10 additions and 3 deletions
|
|
@ -209,6 +209,12 @@ class memberController extends member
|
|||
{
|
||||
return new BaseObject(-1, 'LOGIN_FAILED');
|
||||
}
|
||||
|
||||
$logged_info = Context::get('logged_info');
|
||||
$this->add('member_srl', $logged_info->member_srl);
|
||||
$this->add('user_id', $logged_info->user_id);
|
||||
$this->add('user_name', $logged_info->user_name);
|
||||
$this->add('nick_name', $logged_info->nick_name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -8,5 +8,6 @@
|
|||
</columns>
|
||||
<conditions>
|
||||
<condition operation="in" column="member_srl" var="member_srl" notnull="notnull" />
|
||||
<condition operation="in" column="device_type" var="device_type" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
<table name="member_devices">
|
||||
<column name="device_srl" type="number" notnull="notnull" primary_key="primary_key" />
|
||||
<column name="member_srl" type="number" notnull="notnull" index="idx_member_srl" />
|
||||
<column name="device_token" type="varchar" size="200" notnull="notnull" />
|
||||
<column name="device_token" type="varchar" size="200" notnull="notnull" index="idx_device_token" />
|
||||
<column name="device_key" type="char" size="64" notnull="notnull" />
|
||||
<column name="device_type" type="date" notnull="notnull" index="idx_device_type" />
|
||||
<column name="device_type" type="char" size="1" notnull="notnull" index="idx_device_type" />
|
||||
<column name="device_version" type="varchar" size="20" notnull="notnull" />
|
||||
<column name="device_model" type="varchar" size="40" notnull="notnull" />
|
||||
<column name="device_description" type="varchar" size="200" />
|
||||
<column name="regdate" type="varchar" size="14" notnull="notnull" index="idx_regdate" />
|
||||
<column name="regdate" type="date" notnull="notnull" index="idx_regdate" />
|
||||
<column name="ipaddress" type="varchar" size="120" notnull="notnull" />
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue