feat: 马豆全端展示统一为整数格式
这个提交包含在:
@@ -20,4 +20,9 @@ class DailyReport extends Common
|
||||
2 => '重跑中',
|
||||
];
|
||||
}
|
||||
|
||||
public function getMadowPoolAttr($value)
|
||||
{
|
||||
return \addons\shopro\service\partner\IdentityService::formatMadow($value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,6 +86,11 @@ class Reward extends Common
|
||||
return $ext['formula'] ?? '';
|
||||
}
|
||||
|
||||
public function getMadowAttr($value)
|
||||
{
|
||||
return \addons\shopro\service\partner\IdentityService::formatMadow($value);
|
||||
}
|
||||
|
||||
public function buyer()
|
||||
{
|
||||
return $this->belongsTo(UserModel::class, 'buyer_id', 'id')->field('id, nickname, avatar, mobile');
|
||||
|
||||
在新工单中引用
屏蔽一个用户