This commit is contained in:
aozhiwei 2021-11-29 14:44:29 +08:00
parent 3ed27d9c12
commit afaa2b19ea
4 changed files with 11 additions and 3 deletions

View File

@ -4,8 +4,8 @@
* @apiGroup AA开发说明
* @apiVersion 0.0.1
* @apiSuccessExample {json} Success-Response:
* {
* }
* 所有的协议都可能携带award和property_chgaward用来显示获得的东西,propery_chg用来更新本地数据
*
*
*
*

View File

@ -19,6 +19,7 @@ class Shop(object):
'response': [
_common.RspHead(),
['award', _common.Award(), '奖励信息'],
['property_chg', _common.PropertyChg(), '属性变更'],
]
},
]

View File

@ -99,3 +99,10 @@ class Award(object):
self.fields = [
['!items', [AwardItem()], '奖励物品列表']
]
class PropertyChg(object):
def __init__(self):
self.fields = [
['user_info', UserInfo(), '用户信息变更(用来更新本地客户端字段(有则更新无则不变))']
]

View File

@ -105,7 +105,7 @@ class BaseAuthedController extends BaseController {
{
SqlHelper::update
($this->_getSelfMysql(),
'user',
't_user',
array(
'account_id' => $this->_getAccountId()
),