消息模块完善
This commit is contained in:
@@ -24,6 +24,8 @@ class SubscribeMessageService
|
||||
|
||||
const MSG_MAP = [
|
||||
self::MSG_TEMP_DEMAND_RECEIVE => [
|
||||
'name' => '接单成功通知', //站内消息标题
|
||||
'message_type' => MessageService::TYPE_DEMAND, //站内消息类型
|
||||
'page' => self::PAGE_DEMAND_LIST . '?opType=myQuote', //我的报价需求列表
|
||||
'remark' => '恭喜中标,请到我投标的需求确认接单!',
|
||||
/*
|
||||
@@ -32,9 +34,12 @@ class SubscribeMessageService
|
||||
任务名称:共享精英团队logo设计
|
||||
备注:接单成功,请尽快安排排产
|
||||
*/
|
||||
'fields' => ['character_string1', 'thing9', 'thing10', 'thing4']
|
||||
'fields' => ['character_string1', 'thing9', 'thing10', 'thing4'],
|
||||
'valueNames' => ['工单号', '服务项目', '任务名称', '备注'], //与fields一一对应,用于站内消息内容组装
|
||||
],
|
||||
self::MSG_TEMP_DEMAND_MATCH_SUCCESS => [
|
||||
'name' => '工单匹配成功通知',
|
||||
'message_type' => MessageService::TYPE_DEMAND,
|
||||
'page' => self::PAGE_DEMAND_LIST . '?opType=my', //我发布的需求列表
|
||||
'remark' => '匹配工程师成功,请到需求详情查看沟通',
|
||||
/*
|
||||
@@ -43,8 +48,11 @@ class SubscribeMessageService
|
||||
温馨提醒:您的工单已成功匹配,请您电话保持畅通。
|
||||
*/
|
||||
'fields' => ['thing1', 'phrase2', 'thing5'],
|
||||
'valueNames' => ['匹配服务方', '服务类别', '温馨提醒'],
|
||||
],
|
||||
self::MSG_TEMP_DEMAND_SETTLE => [
|
||||
'name' => '工单结算通知',
|
||||
'message_type' => MessageService::TYPE_DEMAND,
|
||||
'page' => self::PAGE_DEMAND_LIST . '?opType=myQuote', //我报价的需求列表
|
||||
'remark' => '该工单已结算完成',
|
||||
/*
|
||||
@@ -53,8 +61,11 @@ class SubscribeMessageService
|
||||
结算说明:订单已收货结算完成
|
||||
*/
|
||||
'fields' => ['character_string4', 'amount1', 'thing2'],
|
||||
'valueNames' => ['订单编号', '结算金额', '结算说明'],
|
||||
],
|
||||
self::MSG_TEMP_WORK_START => [
|
||||
'name' => '项目开工通知',
|
||||
'message_type' => MessageService::TYPE_DEMAND,
|
||||
'page' => self::PAGE_DEMAND_LIST . '?opType=myQuote', //我报价的需求列表
|
||||
'remark' => '客户已支付预付款,可以开始工作',
|
||||
/*
|
||||
@@ -63,8 +74,11 @@ class SubscribeMessageService
|
||||
备注:请在上下班时间安排对工人进行考勤
|
||||
*/
|
||||
'fields' => ['thing1', 'time2', 'thing4'],
|
||||
'valueNames' => ['项目名称', '工作日期', '备注'],
|
||||
],
|
||||
self::MSG_TEMP_WORK_ACCEPT => [
|
||||
'name' => '工单验收通知',
|
||||
'message_type' => MessageService::TYPE_DEMAND,
|
||||
'page' => self::PAGE_DEMAND_LIST . '?opType=my', //我发布的需求列表
|
||||
'remark' => '需求开发工作已完成,请前去验收成果',
|
||||
/*
|
||||
@@ -74,8 +88,11 @@ class SubscribeMessageService
|
||||
温馨提醒:登录平台确保验收,给予工程师中肯评价吧~
|
||||
*/
|
||||
'fields' => ['character_string1', 'thing8', 'thing2', 'thing5'],
|
||||
'valueNames' => ['工单编号', '工单标题', '验收内容', '温馨提醒'],
|
||||
],
|
||||
self::MSG_TEMP_WORK_ACCEPT_RESULT => [
|
||||
'name' => '验收结果通知',
|
||||
'message_type' => MessageService::TYPE_DEMAND,
|
||||
'page' => self::PAGE_DEMAND_LIST . '?opType=myQuote', //我报价的需求列表
|
||||
'remark' => '客户已验收并支付尾款,可以发送源码',
|
||||
'remarkFail' => '客户验收未通过,请根据要求修改',
|
||||
@@ -86,8 +103,11 @@ class SubscribeMessageService
|
||||
原因:不符合需求描述的内容
|
||||
*/
|
||||
'fields' => ['thing1', 'thing3', 'thing5', 'thing4'],
|
||||
'valueNames' => ['验收阶段', '验收结果', '备注', '原因'],
|
||||
],
|
||||
self::MSG_TEMP_CONTRACT_PAY => [
|
||||
'name' => '合同付款通知',
|
||||
'message_type' => MessageService::TYPE_DEMAND,
|
||||
'page' => self::PAGE_ORDER_LIST, //我的订单列表
|
||||
'remark' => '请到我的订单完成合同尾款支付',
|
||||
/*
|
||||
@@ -98,8 +118,11 @@ class SubscribeMessageService
|
||||
备注:您有以上合同需要付款,请及时发起流程
|
||||
*/
|
||||
'fields' => ['thing1', 'character_string2', 'amount5', 'time4', 'thing3'],
|
||||
'valueNames' => ['项目名称', '合同编号', '结算金额', '结算周期', '备注'],
|
||||
],
|
||||
self::MSG_TEMP_CONTRACT_SIGN => [
|
||||
'name' => '合同签约通知',
|
||||
'message_type' => MessageService::TYPE_DEMAND,
|
||||
'page' => self::PAGE_DEMAND_LIST . '?opType=my', //我发布的需求列表
|
||||
'remark' => '需求已确认,请前去完成合同签约',
|
||||
/*
|
||||
@@ -109,8 +132,11 @@ class SubscribeMessageService
|
||||
备注:【签约成功】请及时缴纳首期款办理入住
|
||||
*/
|
||||
'fields' => ['thing1', 'thing2', 'amount12', 'thing5'],
|
||||
'valueNames' => ['合同编号', '项目名称', '签约金额', '备注'],
|
||||
],
|
||||
self::MSG_TEMP_ORDER_SHIPPED => [
|
||||
'name' => '订单发货通知',
|
||||
'message_type' => MessageService::TYPE_DEMAND,
|
||||
'page' => self::PAGE_ORDER_LIST, //订单列表
|
||||
'remark' => '发货成功,请到订单详情查看激活码',
|
||||
/*
|
||||
@@ -120,8 +146,11 @@ class SubscribeMessageService
|
||||
备注:快递配送中,请留意电话或者短信
|
||||
*/
|
||||
'fields' => ['character_string2', 'thing1', 'phrase19', 'thing6'],
|
||||
'valueNames' => ['订单号', '商品名称', '订单状态', '备注'],
|
||||
],
|
||||
self::MSG_TEMP_CONFIRM_RECEIPT => [
|
||||
'name' => '确认收货通知',
|
||||
'message_type' => MessageService::TYPE_DEMAND,
|
||||
'page' => self::PAGE_DEMAND_DETAIL, //需求详情(发送时携带需求id)
|
||||
'remark' => '开发成果已交付,请查看交付内容并确认收货',
|
||||
/*
|
||||
@@ -131,8 +160,11 @@ class SubscribeMessageService
|
||||
备注:开发成果已交付,请查看交付内容并确认收货
|
||||
*/
|
||||
'fields' => ['character_string1', 'character_string2', 'amount3', 'thing5'],
|
||||
'valueNames' => ['产品名称', '订单号', '付款金额', '备注'],
|
||||
],
|
||||
self::MSG_TEMP_DEVELOPER_JOIN => [
|
||||
'name' => '入驻审核通知',
|
||||
'message_type' => MessageService::TYPE_SYSTEM, //入驻审核属系统消息
|
||||
'page' => self::PAGE_HOME, //首页
|
||||
'remark' => '开发者入驻成功,前去接单大厅接单',
|
||||
/*
|
||||
@@ -142,6 +174,7 @@ class SubscribeMessageService
|
||||
备注:备注说明
|
||||
*/
|
||||
'fields' => ['thing2', 'time3', 'phrase4', 'thing5'],
|
||||
'valueNames' => ['申请人', '申请时间', '状态', '备注'],
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user