medal add gift_fee_factor and user_medal add priority

This commit is contained in:
xiaomlove
2023-01-29 20:00:58 +08:00
parent fb803d1989
commit 0845bca268
25 changed files with 335 additions and 55 deletions
+1
View File
@@ -6,6 +6,7 @@ return [
'comment_buy_temporary_invite' => '花费 :bonus 魔力购买了 :count 个临时邀请',
'comment_buy_rainbow_id' => '花费 :bonus 魔力购买了 :duration 天的彩虹 ID',
'comment_buy_change_username_card' => '花费 :bonus 魔力购买了改名卡',
'comment_gift_medal' => '花费 :bonus 魔力购买了 :medal_name 并赠送给 :to_username',
'table_thead' => [
'reward_type' => '奖励类型',
'count' => '数量',
+1
View File
@@ -35,6 +35,7 @@ return [
'reset' => '重置',
'anonymous' => '匿名',
'infinite' => '无限',
'save' => '保存',
'setting' => [
'nav_text' => '设置',
'backup' => [
+4
View File
@@ -28,6 +28,8 @@ return [
'users_count' => '已售数量',
'bonus_addition_factor' => '魔力加成系数',
'bonus_addition_factor_help' => '如:0.01 表示 1% 的加成,留空无加成',
'gift_fee_factor' => '赠送手续费系数',
'gift_fee_factor_help' => '赠送给其他用户时额外收取手续费等于价格乘以此系数',
],
'buy_already' => '已经购买',
'buy_btn' => '购买',
@@ -37,4 +39,6 @@ return [
'before_sale_begin_time' => '未到可购买时间',
'after_sale_end_time' => '已过可购买时间',
'inventory_empty' => '库存不足',
'gift_btn' => '赠送',
'confirm_to_gift' => '确定要赠送给用户 ',
];
+4
View File
@@ -27,4 +27,8 @@ return [
'subject' => '临时邀请:change_type',
'body' => '你的临时邀请被管理员 :operator :change_type :count 个,理由::reason。',
],
'receive_medal' => [
'subject' => '收到赠送勋章',
'body' => '用户 :username 花费魔力 :cost_bonus 购买了勋章[:medal_name]并赠送与你。此勋章价值 :price,手续费 :gift_fee_total(系数::gift_fee_factor),你将拥有此勋章有效期至: :expire_at,勋章的魔力加成系数为: :bonus_addition_factor。',
],
];