www.gusucode.com > KPPW众包威客PHP开源建站系统 v3.0源码程序 > KPPW/database/seeds/MessageTemplateTableSeeder.php
<?php use Illuminate\Database\Seeder; class MessageTemplateTableSeeder extends Seeder { /** * Auto generated seed file * * @return void */ public function run() { \DB::table('message_template')->delete(); \DB::table('message_template')->insert(array ( 0 => array ( 'id' => 23, 'code_name' => 'task_publish_success', 'name' => '任务发布成功', 'content' => '<p>尊敬的{{username}}:</p><p>您的任务{{task_number}}{{task_title}}{{task_status}},感谢您对{{website}}的信任。如有特殊情况,请致电客服,我们将协助您解决问题。</p><p>任务编号:{{task_number}}</p><p>任务标题:{{task_link}}</p><p>任务状态:{{task_status}}</p><p>开始时间:{{start_time}}</p><p>投稿结束时间:{{manuscript_end_time}}<span id="transmark"></span></p><p>--------------------------------------------------------------------------------------------------------------------</p><p>此邮件为系统自动发出的邮件,请勿直接回复。</p>', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 1, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-07-18 15:35:35', 'num' => 7, 'variable_str' => 'username,task_number,task_title,task_status,website,start_time,manuscript_end_time', ), 1 => array ( 'id' => 24, 'code_name' => 'task_win', 'name' => '任务中标', 'content' => '<p>尊敬的 {{username}}:</p><p>&nbsp; &nbsp; &nbsp; &nbsp;您的稿件被雇主选中,感谢您对{{website}}网的信任。如有特殊情况,请致电客服,我们将协助您解决问题。</p><p>任务编号:{{task_number}}</p><p>任务标题:{{task_title}}</p><p>中标金额: {{win_price<span id="transmark"></span>}}</p><p>--------------------------------------------------------------------------------------------------------------------</p><p>此邮件为系统自动发出的邮件,请勿直接回复。</p>', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 1, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-07-15 16:20:03', 'num' => 5, 'variable_str' => 'username,website,task_number,task_title,win_price<span id="transmark"></span>', ), 2 => array ( 'id' => 25, 'code_name' => 'task_audit_failure ', 'name' => '任务审核失败', 'content' => '尊敬的 {{username}}:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 您的发布的任务 {{task_title}} 未通过审核,感谢您对{{website<span id="transmark"></span>}}的信任。如有特殊情况,请致电客服,我们将协助您解决问题。', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 1, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-07-18 15:35:38', 'num' => 3, 'variable_str' => 'username,task_title,website<span id="transmark"></span>', ), 3 => array ( 'id' => 26, 'code_name' => 'audit_success', 'name' => '审核通过', 'content' => '尊敬的 {{username}}:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 您的发布的任务已通过审核,感谢您对{{website}}的信任。如有特殊情况,请致电客服,我们将协助您解决问题。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span id="transmark"></span>任务编号:{{task_number}}', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 1, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-07-18 15:35:39', 'num' => 3, 'variable_str' => 'username,website,task_number', ), 4 => array ( 'id' => 28, 'code_name' => 'task_delivery ', 'name' => '任务交稿', 'content' => '<p>尊敬的 {{username}}:</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {{name}}向您<span id="transmark"></span>的{{task_title}}提交了稿件。</p><p>感谢您对{{website}}的信任。如有特殊情况,请致电客服</p>', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 1, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-07-18 15:35:39', 'num' => 4, 'variable_str' => 'username,name,task_title,website', ), 5 => array ( 'id' => 29, 'code_name' => 'trading_rights ', 'name' => '交易维权受理', 'content' => '<p>尊敬的{{username}}:</p><p>&nbsp; &nbsp; &nbsp; &nbsp;任务{{tasktitle}}相关稿件维权已被网站受理,请耐心等待平台的处理。</p><p>感谢您对{{website<span id="transmark"></span>}}的信任。如有特殊情况,请致电客服</p> ', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 1, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-07-27 14:20:01', 'num' => 3, 'variable_str' => 'username,tasktitle,website<span id="transmark"></span>', ), 6 => array ( 'id' => 30, 'code_name' => 'trading_rights_result ', 'name' => '交易维权结果', 'content' => '<p style="line-height: 18.5714px;">尊敬的{{username}}:</p><p style="line-height: 18.5714px;">&nbsp; &nbsp; &nbsp; 经过平台判定,{{workname}}稿件维权处理结果为:{{ownername}}分配赏金{{ownermoney}},{{workername}}分配赏金{{wokermoney}}</p><p style="line-height: 18.5714px;">感谢您对{{website<span id="transmark"></span>}}的信任。如有特殊情况,请致电客服</p>', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 1, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-07-18 15:35:42', 'num' => 7, 'variable_str' => 'username,workname,ownername,ownermoney,workername,wokermoney,website<span id="transmark"></span>', ), 7 => array ( 'id' => 32, 'code_name' => 'agreement_documents', 'name' => '任务交付', 'content' => '<p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">尊敬的 {{username}}:</p><p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">用户{{initiator}}已经交付:</p><p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">任务链接:{{agreement_link}}</p><p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">感谢您对{{website<span id="transmark"></span>}}的信任。如有特殊情况,请致电客服</p>', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 1, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-07-18 15:35:44', 'num' => 4, 'variable_str' => 'username,initiator,agreement_link,website<span id="transmark"></span>', ), 8 => array ( 'id' => 33, 'code_name' => 'Automatic_choose', 'name' => '自动选稿', 'content' => '<p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">尊敬的 {{username}}:</p><p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">您参与的任务{{task_number}}进行了自动选稿,任务信息:</p><p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">任务标题:{{task_title}}</p><p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">感谢您对{{website<span id="transmark"></span>]}的信任。如有特殊情况,请致电客服</p>', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 1, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-07-18 15:35:44', 'num' => 3, 'variable_str' => 'username,task_number,task_title', ), 9 => array ( 'id' => 34, 'code_name' => 'manuscript_settlement ', 'name' => '稿件结算', 'content' => '<p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">尊敬的 {{username}}:</p><p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">您参与的任务已经结束。</p><p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">任务编号:{{task_number}}</p><p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">任务链接:{{task_link}}<br></p><p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">感谢您对{{website<span id="transmark"></span>}}的信任。如有特殊情况,请致电客服</p>', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 1, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-07-18 15:35:45', 'num' => 4, 'variable_str' => 'username,task_number,task_link,website<span id="transmark"></span>', ), 10 => array ( 'id' => 37, 'code_name' => 'task_failed', 'name' => '任务失败', 'content' => '<span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">您发布的{{task_title}}任务</span><a href="http://demo.kppw.cn/admin/index.php?do=task&amp;id={%E4%BB%BB%E5%8A%A1%E7%BC%96%E5%8F%B7}" _href="index.php?do=task&amp;id={任务编号}" style="font-family: sans-serif; font-size: 16px; line-height: normal;"></a><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">因{{reason<span id="transmark"></span>}}已经失败。</span>', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 0, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-06-30 15:48:29', 'num' => 2, 'variable_str' => 'task_title,reason<span id="transmark"></span>', ), 11 => array ( 'id' => 38, 'code_name' => 'task_finish', 'name' => '任务完成', 'content' => '<span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">您发布的{{task_title}}任务</span><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;"><span id="transmark"></span>已经完成</span>', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 0, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-08-04 13:37:41', 'num' => 1, 'variable_str' => 'task_title', ), 12 => array ( 'id' => 44, 'code_name' => 'report ', 'name' => '举报通知', 'content' => '<p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">尊敬的 {{username}}:</p><p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">您举报的{{tasktitle}}网站已经受理完成,请等待网站的处理</p><p style="margin-top: 5px; margin-bottom: 5px; color: rgb(0, 0, 0); font-family: sans-serif; font-size: 16px; line-height: normal;">感谢您对{{website<span id="transmark"></span>}}的信任。如有特殊情况,请致电客服</p>', 'message_type' => 2, 'is_open' => 1, 'is_on_site' => 0, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-07-01 11:31:55', 'num' => 3, 'variable_str' => 'username,tasktitle,website<span id="transmark"></span>', ), 13 => array ( 'id' => 45, 'code_name' => 'feedback ', 'name' => '意见反馈', 'content' => '尊敬的{{username}}:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 您的投诉建议本平台已经处理,反馈意见为:{{content}}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 感谢您的支持!!<span id="transmark"></span><br>', 'message_type' => 1, 'is_open' => 1, 'is_on_site' => 1, 'is_send_email' => 0, 'created_at' => NULL, 'updated_at' => '2016-07-15 16:58:42', 'num' => 2, 'variable_str' => 'username,content', ), )); } }