mirror of
https://gitee.com/ShopeX/ECShopX
synced 2026-08-14 17:41:43 +08:00
374 lines
22 KiB
PHP
374 lines
22 KiB
PHP
<?php
|
||
|
||
return [
|
||
// 验证错误消息
|
||
'activity_name_required_max_20' => '活动名称必填且不能超过20个字',
|
||
'activity_name_max_20' => '活动名称不能超过20个字',
|
||
'set_activity_point_multiplier' => '请设置活动积分倍数',
|
||
'set_correct_point_multiplier' => '请设置正确的活动积分倍数',
|
||
'fill_activity_time' => '请填写活动时间',
|
||
'select_valid_time' => '请选择有效的时间',
|
||
'select_main_category' => '请选择主分类',
|
||
'select_tags' => '请选择标签',
|
||
'select_brand' => '请选择品牌',
|
||
'parameter_error' => '参数异常',
|
||
'activity_ended_cannot_modify' => '活动已结束,不允许修改',
|
||
'anonymous_user' => '匿名用户',
|
||
|
||
// 注册促销相关
|
||
'register_point_must_integer' => '注册赠送积分必须为整数',
|
||
'register_rebate_must_integer' => '注册返上级积分必须为整数',
|
||
|
||
// 文章相关
|
||
'article_title_required_max_200' => '文章标题必填,且最大长度不超过200个汉字',
|
||
|
||
// 商品和店铺相关
|
||
'product_id_error' => '商品ID错误',
|
||
'store_id_error' => '店铺ID错误',
|
||
'limit_quantity_min_1' => '限购数量必须大于0',
|
||
'purchase_quantity_format_error' => '购买件数格式不正确,请输入大于0的整数',
|
||
'activity_id_required' => '活动ID必填',
|
||
|
||
// 拼团活动相关
|
||
'activity_name_required_max_10' => '活动名称必填, 且必须小于10',
|
||
'limit_quantity_max_999' => '限购数量必填,最大限购数量为999',
|
||
'group_member_min_2_max_999' => '成团人数至少为2,最大成团人数为999',
|
||
'stock_quantity_required_min_0' => '库存数量必填,且要大于0',
|
||
'sale_price_required_min_001' => '销售价必填,且要大于0',
|
||
|
||
// 通用错误
|
||
'operation_failed' => '操作失败',
|
||
'data_not_found' => '数据未找到',
|
||
'invalid_request' => '无效请求',
|
||
'article_content_required' => '文章内容不能为空',
|
||
'cover_required' => '封面不能为空',
|
||
'redirect_url_required' => '跳转链接不能为空',
|
||
'please_select_article' => '请选择文章',
|
||
'get_list_error' => '获取列表出错.',
|
||
|
||
// 砍价活动相关
|
||
'activity_title_required' => '活动名称必填',
|
||
'activity_pic_required' => '活动图片必填',
|
||
'item_name_required' => '商品名称必填',
|
||
'item_pics_required' => '商品图片必填',
|
||
'item_price_required_min_0' => '商品价格必填,且要大于0',
|
||
'item_discount_required_min_0' => '商品折扣额必填,且要大于0',
|
||
'limit_purchase_quantity_required' => '限制购买数量必填,且要大于0',
|
||
'bargain_rules_required' => '助力规则必填',
|
||
'min_help_people_required_min_1' => '最少助力人数必须大于1且必填',
|
||
'max_help_people_required_min_2' => '最多助力人数必须大于2且必填',
|
||
'bargain_start_time_required' => '助力开始时间必填',
|
||
'bargain_end_time_required' => '助力结束时间必填',
|
||
'share_content_required' => '分享内容必填',
|
||
'flip_card_pics_required' => '翻牌图片必填',
|
||
'end_time_must_greater_than_start' => '结束时间要大于开始时间',
|
||
'price_difference_must_greater_than_1' => '原价和底价之间的差价要大于¥1',
|
||
'max_help_people_greater_than_min' => '最多助力人数要大于最少助力人数',
|
||
'get_bargain_detail_error' => '获取助力活动详情出错.',
|
||
'can_only_get_your_bargain_detail' => '只能获取您的助力活动详情.',
|
||
'missing_activity_id' => '缺少活动id',
|
||
'min_help_people_required' => '最少助力人数必填',
|
||
'max_help_people_required_min_0' => '最多助力人数必须大于0且必填',
|
||
'terminate_bargain_error' => '废除助力活动出错.',
|
||
'delete_bargain_error' => '删除助力活动出错.',
|
||
|
||
// 组合商品相关
|
||
'package_name_required' => '活动名称必填',
|
||
'main_items_required' => '活动主商品必填',
|
||
'main_item_id_required' => '活动主商品必填',
|
||
'main_item_price_required' => '活动主商品价格必填',
|
||
'applicable_products_required' => '适用商品必填',
|
||
'product_id_param_missing' => '商品id参数缺失',
|
||
'product_price_param_missing' => '商品价格参数缺失',
|
||
'applicable_member_required' => '适用会员必选',
|
||
'platform_usage_required' => '使用平台必选',
|
||
'activity_start_time_required' => '活动开始时间必填',
|
||
'activity_end_time_required' => '活动结束时间必填',
|
||
|
||
// 积分升值活动相关
|
||
'activity_title_required' => '活动名称必填',
|
||
'activity_begin_time_required' => '活动开始时间必填',
|
||
'activity_end_time_required' => '活动结束时间必填',
|
||
'company_id_required' => '企业id必填',
|
||
'date_required' => '日期必填',
|
||
'upvaluation_required' => '升值倍数必填',
|
||
'max_up_point_required' => '升值上限必填',
|
||
'used_scene_required' => '应用场景必填',
|
||
|
||
// 猜你喜欢相关
|
||
'please_select_products' => '请选择商品',
|
||
'exceed_30_products_limit' => '不能超过30件商品',
|
||
'product_id_required' => '商品id',
|
||
'product_sort_required' => '商品排序',
|
||
|
||
// 秒杀活动相关
|
||
'activity_name_required' => '活动名称必填',
|
||
'activity_release_time_required' => '活动预发布时间必填',
|
||
'activity_cover_required' => '活动封面图必填',
|
||
'product_title_param_missing' => '商品标题参数缺失',
|
||
'product_activity_price_param_missing' => '商品活动价格参数缺失',
|
||
'product_activity_stock_param_missing' => '商品活动库存参数缺失',
|
||
'amount_cannot_exceed_13_digits' => '金额数字不能超过13位',
|
||
'bind_product_param_missing' => '绑定商品参数缺失',
|
||
'get_product_list_error' => '获取商品列表出错.',
|
||
'activity_start_time_cannot_greater_than_release_time' => '活动开始时间不能大于活动发布时间',
|
||
'activity_start_time_cannot_greater_than_end_time' => '活动开始时间不能大于结束时间',
|
||
'no_activity_products_please_add' => '您没有活动商品,请添加',
|
||
|
||
// 短信相关
|
||
'sms_template_name_required' => '短信模板名称必填',
|
||
'test_mobile_required' => '测试手机必填',
|
||
'template_content_required' => '模板内容必填',
|
||
|
||
// 定向促销相关
|
||
'cycle_start_end_time_required' => '指定周期时,开始时间和结束时间必填',
|
||
'please_select_target_crowd' => '请选择针对人群',
|
||
'discount_limit_exceeds_max' => '优惠限额超出最大值',
|
||
|
||
// 大转盘相关
|
||
'prize_setting_required' => '错误,奖项必须设置',
|
||
'enter_points_value' => '请输入积分值',
|
||
'select_coupon' => '请选择优惠券',
|
||
'coupon_package_select_at_least_one' => '优惠券包至少选择一个优惠券',
|
||
'winning_probability_range_error' => '中奖概率必须在100%到1%之间',
|
||
'select_at_least_one_thanks_prize' => '请选择至少一个谢谢惠顾奖项',
|
||
'probability_total_cannot_exceed_100' => '错误,概率累计不能大于100',
|
||
'start_time_cannot_greater_equal_end_time' => '错误,开始时间不能大于等于结束时间',
|
||
'id_required_error' => '错误,id必传',
|
||
'id_not_exist_error' => '错误,id不存在',
|
||
'activity_id_required_error' => '错误,活动id必传',
|
||
|
||
// FrontApi相关
|
||
'activity_expired' => '活动已失效',
|
||
'activity_not_exist' => '活动不存在',
|
||
'get_group_activity_list_failed' => '获取拼团活动列表失败',
|
||
'purchase_quantity_exceeds_limit' => '购买数量超过限购量',
|
||
'seckill_activity_closed' => '秒杀活动已关闭',
|
||
'seckill_activity_not_started' => '秒杀活动未开始',
|
||
'seckill_activity_ended' => '秒杀活动已结束',
|
||
'sold_out' => '已抢完',
|
||
'seckill_activity_removed' => '秒杀活动已下架',
|
||
'live_room_id_required' => '未传直播间ID必填参数',
|
||
'wechat_miniprogram_required' => '请在微信小程序中使用微信直播功能',
|
||
'required_params_missing' => '未传必填参数',
|
||
'miniprogram_qrcode_params_error' => '获取小程序码参数出错,请检查.',
|
||
'miniprogram_qrcode_params_error_simple' => '获取小程序码参数出错',
|
||
'turntable_winning_receive' => '大转盘中奖领取',
|
||
'bargain_activity_id_required' => '活动id必填',
|
||
'bargain_user_id_required' => '发起砍价活动用户id必填',
|
||
'wechat_openid_required' => '微信openid必填',
|
||
'marketing_activity_not_exist' => '活动不存在',
|
||
'new_customer_marketing_error' => '新客营销错误',
|
||
|
||
// Repository通用错误消息
|
||
'no_update_data_found' => '未查询到更新数据',
|
||
'delete_data_not_exist' => '删除的数据不存在',
|
||
'sms_signature_not_exist' => '更新短信签名不存在',
|
||
'no_promotion_rule_specified' => '没有指定促销规则',
|
||
'bargain_activity_not_exist_with_id' => 'bargain_id=:bargain_id的砍价活动不存在',
|
||
'bargain_activity_delete_not_exist_with_id' => 'bargain_id=:bargain_id的助力活动不存在',
|
||
'marketing_activity_not_exist_with_id' => 'marketing_id=:marketing_id的营销活动不存在',
|
||
'seckill_activity_not_exist_with_id' => 'seckill_id=:seckill_id的秒杀活动不存在',
|
||
'promotion_group_activity_not_exist_with_id' => 'group_id=:group_id的拼团活动不存在',
|
||
'package_not_exist_with_id' => 'package_id=:package_id的组合商品不存在',
|
||
'point_activity_not_exist_with_id' => 'activity_id=:activity_id的积分活动不存在',
|
||
'user_task_activity_not_exist_with_id' => 'activity_id=:activity_id的用户任务活动不存在',
|
||
'user_signin_rule_not_exist_with_id' => 'activity_id=:activity_id的用户签到规则不存在',
|
||
'turntable_activity_not_exist_with_id' => 'activity_id=:activity_id的转盘活动不存在',
|
||
'specific_crowd_discount_not_exist_with_id' => 'discount_id=:discount_id的特定人群优惠不存在',
|
||
'user_bargain_activity_not_exist' => '您参加的bargain_id=:bargain_id的砍价活动不存在',
|
||
|
||
// Services错误消息
|
||
'activity_not_exist_with_id' => '错误,id为::id 的活动不存在',
|
||
'activity_not_exist_or_wrong_id' => '错误,活动不存在或id错误',
|
||
'turntable_activity_not_enabled' => '转盘活动未开启',
|
||
'not_in_activity_time' => '不在活动时间内',
|
||
'insufficient_draw_times' => '您的抽奖次数不足',
|
||
'daily_draw_limit_reached' => '抽奖次数到达今日上限',
|
||
'draw_activity_ended' => '抽奖活动已结束',
|
||
'draw_activity_not_started' => '抽奖活动未开始',
|
||
'insufficient_user_points' => '用户积分不足',
|
||
'draw_times_reach_activity_limit' => '抽奖次数达到活动上限制',
|
||
'daily_sms_limit_reached' => '今日发送短信次数已达:max_times次',
|
||
'register_title_required' => '注册标题必填',
|
||
'please_select_ad_image' => '请选择广告图',
|
||
'please_select_distributor' => '请选择分销商',
|
||
'bargain_activity_not_exist_with_bargain_id' => 'bargain_id为:bargain_id的砍价活动不存在!',
|
||
'please_select_specific_gift_date' => '请选择具体赠送的日期',
|
||
'please_select_date' => '请选择日期',
|
||
'activity_start_time_cannot_greater_than_end_time' => '活动开始时间不能大于结束时间',
|
||
'please_select_gift_method' => '请选择赠送方式',
|
||
'gift_product_check_error' => '该商品为赠品,请检查后再提交!',
|
||
'no_activity_products_please_add' => '您没有活动商品,请添加',
|
||
'sms_signature_not_set' => '签名未设置,不能发送短信',
|
||
'activity_time_conflict_error' => '错误,该活动和存在活动时间有冲突',
|
||
'gift_exists_please_check' => '存在赠品,请检查后再次提交',
|
||
'related_activity_product_error' => '关联活动商品出错',
|
||
'member_price_must_greater_than_zero' => '会员价必须大于0',
|
||
'please_select_applicable_members' => '请选择适用会员',
|
||
'sms_template_not_enabled' => '短信模版未启用',
|
||
'gift_save_error' => '赠品保存出错',
|
||
'please_select_main_product' => '请选择主商品',
|
||
'draw_activity_ended_error' => '错误,抽奖活动已结束',
|
||
'draw_activity_not_started_error' => '错误,抽奖活动未开始',
|
||
'please_select_promotion_area' => '请选择推广区域',
|
||
'sms_template_format_error' => '短信模版格式错误,检测不到变量',
|
||
'sms_template_variables_too_many' => '短信模版变量过多,最多支持20个变量',
|
||
'sms_template_variable_length_error' => '短信模版变量长度超限制::variable_name',
|
||
'promotion_activity_time_conflict' => '您选择的时间范围内已存在营销活动',
|
||
'activity_not_exist_error' => '错误,活动不存在',
|
||
'points_task_not_exist_error' => '错误,积分任务不存在',
|
||
'task_not_completed_error' => '错误,任务未完成',
|
||
'activity_not_started_error' => '错误,活动未开始',
|
||
'activity_ended_error' => '错误,活动已结束',
|
||
'points_insufficient_error' => '错误,积分不足',
|
||
'today_already_signed_in' => '今天已经签到过了',
|
||
'no_signin_rule_found' => '没有找到签到规则',
|
||
'promotion_activity_name_required' => '活动名称必填',
|
||
'promotion_activity_start_time_required' => '活动开始时间必填',
|
||
'promotion_activity_end_time_required' => '活动结束时间必填',
|
||
'please_select_promotion_products' => '请选择推广商品',
|
||
'promotion_activity_exists_in_timerange' => '您选择的时间范围内已存在推广活动',
|
||
'member_level_insufficient' => '会员等级不够',
|
||
'order_amount_insufficient' => '订单金额不足',
|
||
'insufficient_inventory' => '库存不足',
|
||
'member_birthday_not_today' => '非会员生日',
|
||
'member_anniversary_not_today' => '非会员周年庆',
|
||
'not_member_day' => '非会员日',
|
||
'invalid_coupon_package' => '无效的优惠券包',
|
||
'point_value_calculation_error' => '积分值计算出错',
|
||
'upvaluation_must_be_integer_greater_than_one' => '升值倍数必须是大于1的整数',
|
||
'template_content_length_error' => '模板内容有效长度1-500个字符',
|
||
'signature_length_error' => '签名长度为3到20字',
|
||
'package_max_10_products' => '组合商品最多选择10个',
|
||
'applicable_products_max_10' => '适用商品最大选择10个',
|
||
'unpaid_order_cancel_time_required' => '未支付订单自动取消必须设置时间,并且必须大于1',
|
||
'import_max_20000_rows' => '一次最多导入 20000 行',
|
||
'import_max_300_stores' => '最多支持 300 家店铺导入',
|
||
'discount_percentage_range_error' => '周期内优惠折扣必须1-100的整数',
|
||
'max_10_coupons_allowed' => '最多选择10张优惠券',
|
||
'max_10_products_allowed' => '最多选择10件商品',
|
||
|
||
// AliTemplateMsgService相关
|
||
'company_id_validation' => '企业id',
|
||
'template_scene_name_required' => '发送模版场景名称必填',
|
||
'to_user_id_validation' => '发送的用户ID',
|
||
'template_data_validation' => '发送的模版需要的数据',
|
||
'miniprogram_notification_send_failed' => '小程序服务通知发送失败:',
|
||
|
||
// BargainPromotionsService相关
|
||
'bargain_activity_has_user_cannot_edit' => '助力活动已经有用户发起,不能编辑!',
|
||
'bargain_activity_ended_cannot_edit' => '助力活动已经结束,不能编辑!',
|
||
'bargain_activity_not_exist' => '助力活动不存在!',
|
||
'delete_bargain_info_error' => '删除助力活动信息有误.',
|
||
'bargain_activity_id_required' => '助力活动id不能为空.',
|
||
'bargain_activity_has_user_cannot_delete' => '助力活动已经有用户发起,不能删除.',
|
||
|
||
// CheckInService相关
|
||
'already_signed_in_no_repeat' => '您已签到,无需重复操作',
|
||
|
||
// ExtraPointActivityService相关
|
||
'order_amount_must_positive' => '订单金额必须为正值',
|
||
'please_select_gift_method' => '请选择赠送方式',
|
||
'please_select_specific_gift_date' => '请选择具体赠送的日期',
|
||
'same_time_only_one_activity' => '同一时间段只允许有一个生效活动',
|
||
|
||
// LimitService相关
|
||
'activity_time_required' => '活动时间必填',
|
||
'product_already_in_limit' => '商品已经存在限购: ',
|
||
'please_select_products' => '请选择商品',
|
||
'cancel_failed' => '取消失败',
|
||
'unknown_product' => '未知商品',
|
||
|
||
// MarketingActivityService相关
|
||
'cannot_delete_activity' => '该活动不能删除',
|
||
'plus_price_main_product_cannot_be_plus_product' => '加价购的主商品不能设置为加价购的加价商品',
|
||
'product_not_exist' => '商品不存在',
|
||
'activity_not_applicable_product' => '活动不适用该商品',
|
||
'activity_not_applicable_store' => '活动不适用该店铺',
|
||
'activity_not_started_or_expired' => '活动未开始或已过期',
|
||
'member_grade_cannot_join_activity' => '您的会员等级不能参加该活动',
|
||
'reached_participation_limit' => '您已达到参与上限',
|
||
'members_only_specific_purchase' => '仅限特定会员购买',
|
||
'activity_product_error' => '活动商品出错',
|
||
|
||
// MemberPriceService相关
|
||
'member_price_data_error' => '会员价数据有误',
|
||
'save_member_price_failed' => '保存会员价失败',
|
||
'member_price_cannot_higher_than_sale_price' => '会员价格不能比销售价高',
|
||
'member_price_cannot_higher_than_store_price' => '会员价格不能比门店销售价高(店铺号:',
|
||
'product_get_failed' => '商品获取失败',
|
||
|
||
// 核心Service文件相关错误消息
|
||
'package_product_not_found' => '未查到相关组合商品',
|
||
'prescription_drug_not_allowed' => '处方药不允许加入组合商品',
|
||
'applicable_products_selection_error' => '适用商品选择错误',
|
||
'applicable_products_price_required' => '适用商品价格必填',
|
||
'package_cannot_contain_main_product' => '组合商品不能存在主商品',
|
||
'applicable_platform_required' => '适用平台必填',
|
||
'regular_crossborder_cannot_package' => '普通商品和跨境商品不能作为组合商品售卖',
|
||
'activity_start_time_cannot_greater_than_publish' => '活动开始时间不能大于活动发布时间',
|
||
'product_stock_required_greater_than_zero' => '商品:item_title的库存必填,并且必须大于0',
|
||
'product_price_required_greater_than_zero' => '商品:item_title的价格必填,并且必须大于0',
|
||
'product_limit_required_greater_than_zero' => '商品:item_title的每人限购必填,并且必须大于0',
|
||
'current_activity_not_editable' => '当前活动不可编辑',
|
||
'store_has_valid_activity_same_time' => '店铺id=:id在同时段已存在有效活动',
|
||
'import_file_unrecognizable' => '导入文件无法识别',
|
||
'error_rows_too_many_show_100' => '错误行数过多,系统仅显示前100行。',
|
||
'signature_not_set_cannot_send_sms' => '签名未设置,不能发送短信',
|
||
'sms_template_not_enabled' => '短信模版未启用',
|
||
'illegal_signature' => '非法签名',
|
||
'signature_contains_illegal_chars' => '签名中含有非法字符',
|
||
'mobile_format_incorrect_cannot_send' => '手机号格式不正确,不能发送短信',
|
||
'fanout_reply_suffix' => ' 拒收请回复R',
|
||
|
||
// 用户相关Service文件错误消息
|
||
'activity_ended_expect_next_participation' => '活动已结束,期待您的下次参与!',
|
||
'activity_not_started_please_wait' => '活动暂未开始,敬请等待!',
|
||
|
||
// UserSign子目录错误消息
|
||
'error_already_signed_today' => '错误,您今天已经签到了',
|
||
'error_prize_already_exists' => '错误,该天数的奖项已经存在了',
|
||
'data_not_exist' => '该数据不存在',
|
||
|
||
// 常见错误消息
|
||
'bargain_help_detail_not_found' => '参与助力详情未找到!',
|
||
'activity_not_exist' => '此活动不存在!',
|
||
'activity_expired_expect_next' => '活动已过期,期待您的下次参与!',
|
||
'already_helped' => '您已经助力过啦!',
|
||
'bargain_activity_completed_expect_next' => '助力活动已完成,期待您的下次参与!',
|
||
'bargain_activity_completed_cannot_help' => '助力活动已完成,不能继续助力!',
|
||
'please_select_at_least_one_applicable_member' => '请至少选择一个适用会员',
|
||
'please_select_main_category' => '请选择主分类',
|
||
'please_select_tags' => '请选择标签',
|
||
'please_select_brand' => '请选择品牌',
|
||
'product_inventory_insufficient' => '商品:item_name库存不足!',
|
||
|
||
// 拼团活动相关错误消息
|
||
'invalid_product' => '无效商品',
|
||
'group_activity_not_exist' => '该活动不存在',
|
||
'group_product_sold_out' => '拼团商品已售完,期待您的下次参与',
|
||
'group_activity_expired' => '拼团活动已过期,期待您的下次参与',
|
||
'group_limit_reached' => '拼团次数已达上限',
|
||
'product_stock_insufficient' => '商品库存不足',
|
||
'group_activity_ended_join_early' => '拼团活动已结束,记得下次及时参团哦~',
|
||
'group_already_success_cannot_join' => '该拼团已成功,无法参团!',
|
||
'already_joined_check_my_group' => '您已拼团,请到我的拼团查看',
|
||
'already_joined_pay_unpaid_order' => '您已拼团,请到未支付订单支付',
|
||
'group_activity_has_waiting_order' => '该拼团活动已有等待成团的订单,请完成拼团后再次购买',
|
||
'activity_started_cannot_edit' => '活动已经开始,不能编辑,只能终止!',
|
||
'activity_time_longer_than_group_time' => '活动时间要比成团时效长',
|
||
'activity_name_cannot_same' => '活动名称不能相同',
|
||
'start_time_greater_than_current' => '开始时间要大于当前时间',
|
||
'end_time_greater_than_start' => '结束时间要大于开始时间',
|
||
'product_not_found' => '没有找到该商品',
|
||
'group_price_cannot_greater_than_sale_price' => '拼团价格不能大于商品的销售价格,请检查后再提交!',
|
||
'group_price_cannot_greater_than_store_price' => '拼团价格不能大于店铺(店铺ID::store_id)的销售价格,请检查后再提交!',
|
||
|
||
// 拼团队伍相关验证
|
||
'company_id_required' => '企业id必填',
|
||
'group_activity_id_required' => '拼团活动id必填',
|
||
'user_id_required' => '用户id必填',
|
||
'group_begin_time_required' => '开团时间必填',
|
||
'group_end_time_required' => '结束时间必填',
|
||
];
|