@caijinlin
2015-12-14T03:48:15.000000Z
字数 25325
阅读 607
lingxi
清华 | 众筹 |
1.detail(包含 pay_form) 2.donate_success |
1.detail (包含 pay_form) 2.donate_success 3.donator_list => donators 4.index => project_list 5.together_detail 6.together_user_list=>crowd_users_list 7.fundraising 8.userbind(bind) 9.dashboard(donator_list, footprint, user_project_list) 10.share (share_donate_cerficate) |
增加“添加子项目”按钮
[基本信息]模块增加 简介:字段summary
增加[详细配置]模块:是否可点赞,是否可捐赠,是否可一起捐,是否置顶, 一起捐筹款目标
a. 修改[成功页面模板]模块
增加如下显示字段
- 首页分享标题 add -通用配置
- 首页分享描述 add -通用配置
- 项目分享标题 add -通用配置
- 项目分享描述 add -通用配置
- 一起捐项目分享标题 add -通用配置
- 一起捐项目分享描述 add -通用配置
- dashboard分享标题 add -通用配置
- dashboard分享描述 add -通用配置
成功页面模板 pay_success_page_style crowdfunding,together
{
'share_btn_enabled': 1,
'share_btn_text':'',
'share_btn_color':'',
'share_model_img':'',
'share_words_text':'', //默认支付成功分享标题
'share_words_desc':'', //默认支付成功分享描述
'project_share_text': '', //项目分享
'project_share_desc': '',
'together_share_text': '', //一起捐分享
'together_share_desc': '',
'fund_share_text': '', //首页分享
'fund_share_desc': '',
'self_share_text': '', //自己分享(dashboard)
'self_share_desc': '',
}
清华pay_success_page_style 的默认值修改,所有机构share_modal_img也得修改
{"is_enabled":1,"share_btn_text":"\u5206\u4eab\u51fa\u53bb","share_btn_color":"#ff6811","share_modal_img":"\/dist\/images\/crowdfund\/wx_share.png","share_words_text":"[#nickname#]\u652f\u6301\u4e86[#project_name#],\u4f60\u8fd8\u4e0d\u8fc7\u6765\u770b\u770b\uff1f","share_words_desc":"[#nickname#]\u6b22\u8fce\u5927\u5bb6\u6350\u8d60","project_share_text":"\u5feb\u6765\uff0c\u4e00\u8d77\u6350\u8d60[#project_name#]\u5427","project_share_desc":"\u6709\u7231\u6350\u8d60\uff0c\u4f5c\u5feb\u4e50\u516c\u76ca\u4eba\uff01","together_share_text":"[#nickname#]\u9080\u4f60\u4e00\u8d77\u6350\uff0c\u52a9\u529b\u6e05\u534e\u53d1\u5c55","together_share_desc":"\u54ce\u5466\u4e0d\u9519\uff0c\u5feb\u8ddf\u6211\u4e00\u8d77\u4f5c\u5feb\u4e50\u516c\u76ca\u4eba\u5427\uff01","fund_share_text":"[#nickname#]\u9080\u4f60\u4e00\u8d77\uff0c\u4f5c\u5feb\u4e50\u516c\u76ca\u4eba\uff01","fund_share_desc":"\u6709\u7231\u6350\u8d60\uff0c\u52a9\u529b\u6e05\u534e\u53d1\u5c55","self_share_text":"[#nickname#]\u6652\u51fa\u4ed6\u7684\u7b54\u5377\uff0c\u4f60\u5462","self_share_desc":""}
增加首页幻灯片
读: /cf/fundraising/team_options_edit?option_name=crowd_fund_slide
保存: /cf/fundraising/team_options_submit?option_name=award_grade
奖项设置 (award_grade)
读: /cf/fundraising/team_options_edit?option_name=award_grade
保存: /cf/fundraising/team_options_submit?option_name=award_grade
json数据(清华为例)
[{"img":"/styles/css/images/crowdfund/awards.png","title":"\u884c\u80dc\u4e8e\u8a00\u65b0\u4eba","require":"0,1000","desc":"[#nickname#]\u7684\u5584\u4e3e\u95ea\u70c1\u7740\u5149\u8292,\u7167\u4eae\u4e86\u524d\u65b9"},{"img":"\/uploads\/attachment\/2015\/0812\/b642b250e1db0796f4f43777c43b97a0.png","title":"\u884c\u80dc\u4e8e\u8a00\u597d\u4eba","require":"1001,10000","desc":"[#nickname#]\u7684\u5584\u4e3e\u95ea\u70c1\u7740\u5149\u8292,\u7167\u4eae\u4e86\u524d\u65b9"},{"img":"\/uploads\/attachment\/2015\/0812\/a85102338ad6611fe1a3632ccf9aec80.png","title":"\u884c\u80dc\u4e8e\u8a00\u7ea2\u4eba","require":"10001,30000","desc":"[#nickname#]\u7684\u5584\u4e3e\u95ea\u70c1\u7740\u5149\u8292,\u7167\u4eae\u4e86\u524d\u65b9"},{"img":"\/uploads\/attachment\/2015\/0812\/d29a36720ad01b7c9d7c072fd6395293.png","title":"\u884c\u80dc\u4e8e\u8a00\u8fbe\u4eba","require":"30001,60000","desc":"[#nickname#]\u7684\u5584\u4e3e\u95ea\u70c1\u7740\u5149\u8292,\u7167\u4eae\u4e86\u524d\u65b9"},{"img":"\/uploads\/attachment\/2015\/0812\/7263cfd866c778dcf9c4da1edcc0290b.png","title":"\u884c\u80dc\u4e8e\u8a00\u5f3a\u4eba","require":"60001,90000","desc":"[#nickname#]\u7684\u5584\u4e3e\u95ea\u70c1\u7740\u5149\u8292,\u7167\u4eae\u4e86\u524d\u65b9"},{"img":"\/uploads\/attachment\/2015\/0812\/5c4a04a8249974b1ffa24c4858461ca4.png","title":"\u884c\u80dc\u4e8e\u8a00\u8d85\u4eba","require":"90001,120000","desc":"[#nickname#]\u7684\u5584\u4e3e\u95ea\u70c1\u7740\u5149\u8292,\u7167\u4eae\u4e86\u524d\u65b9"},{"img":"\/uploads\/attachment\/2015\/0813\/10ac868d59836d59b0f3152ae805d652.png","title":"\u539a\u5fb7\u8f7d\u7269\u65b0\u661f","require":"120001,200000","desc":"[#nickname#]\u7684\u5584\u4e3e\u95ea\u70c1\u7740\u5149\u8292,\u7167\u4eae\u4e86\u524d\u65b9"},{"img":"\/uploads\/attachment\/2015\/0813\/6ff3d3fb7a9b984b2484d049ad1c4143.png","title":"\u539a\u5fb7\u8f7d\u7269\u660e\u661f","require":"200001,400000","desc":"[#nickname#]\u7684\u5584\u4e3e\u95ea\u70c1\u7740\u5149\u8292,\u7167\u4eae\u4e86\u524d\u65b9"},{"img":"\/uploads\/attachment\/2015\/0813\/ffb3d46f585ac3253ea293fdf1450d8d.png","title":"\u539a\u5fb7\u8f7d\u7269\u8d85\u7ea7\u5de8\u661f","require":"400001,500000","desc":"[#nickname#]\u7684\u5584\u4e3e\u95ea\u70c1\u7740\u5149\u8292,\u7167\u4eae\u4e86\u524d\u65b9"},{"img":"\/uploads\/attachment\/2015\/0814\/9165650c4547e2b6ca359d03be08faaf.png","title":"\u6211\u7231\u6e05\u534e","require":"500000+","desc":"[#nickname#]\u7684\u5584\u4e3e\u95ea\u70c1\u7740\u5149\u8292,\u7167\u4eae\u4e86\u524d\u65b9"}]
迁移
迁移
网页标题
首页每页显示项目数
捐款用户列表每页显示数
一起捐用户列表每页显示数
微信默认分享图片
weixin_appid
weixin_appsecret
sms_user
sms_pass
sms_type
sms_beian
个人中心底部logo(+链接)
个人中心顶部logo(+链接)
一起捐筹款目标设置
首页幻灯片
绑定时短信验证消息
参与项目捐赠icon
项目捐赠额icon
参与筹款人icon
筹款目标完成icon
一起捐筹款支持icon
一起捐标志logo(含文字)
一起捐标志logo(不含文字)
捐赠荣誉背景图
筹款项目块标题
创建一起捐最大次数
个人面板导航菜单
自定义script和样式
一起捐默认留言
无足迹显示提示
有足迹提示
无捐赠记录提示
有捐赠记录提示
无一起捐提示
有一起捐提示
无足迹时显示赞语
字段名称 描述 type cf_html_title 网页标题 crowdfunging form_items 收集信息表单 crowdfunging cf_donator_users_list_page_size 捐款用户每页显示数 crowdfunding wx_project_share_title 项目分享标题 crowdfunding wx_project_share_desc 项目分享描述 crowdfunding dashboard_menu 个人面板导航菜单 together dashboard_footer_logo_url 个人中心顶部logo together dashboard_header_logo_url 个人中心底部logo together award_grade 奖项设置 together together_raise_goal 一起捐筹款目标设置 together fund_raising_number_icon 参与项目捐赠icon together fund_donate_amount_icon 项目捐赠额icon together fund_refer_people_icon 参与筹款人icon together goal_finish_icon 筹款目标完成icon together crowd_fund_img_url 一起捐标志logo together fund_honnr_bg_url 捐赠荣誉背景图 together doante_agreement 捐赠协议 together fund_footer_logo_direct_link 底部logo点击链接 together fund_footer_logo_direct_link 底部logo点击链接 together custom_style_script 自定义script和样式 together together_reason_default 一起捐默认留言 together crowd_fund_slide 首页幻灯片 together legal_statement_redirect_link 法律声明链接 together dasgboard_empty_user_project_tip 无一起捐提示 together dashboard_has_user_project_tip 有一起捐提示 together dashboard_empty_footprint_tip 无足迹显示提示 together dashboard_has_footprint_tip 有足迹提示 together dashboard_empty_footprint_words 无捐赠记录提示 together dashboard_has_donate_record_tip 有捐赠记录提示 together cf_project_block_title 项目标题(特例清华) together user_project_maximum 创建项目一起捐最大次数 together wx_fund_share_title 首页分享标题 together wx_fund_share_desc 首页分享描述 together wx_together_project_share_title 一起捐项目分享标题 together wx_together_project_share_desc 一起捐项目分享描述 together wx_project_share_title 项目分享标题 together wx_project_share_desc 项目分享描述 together self_donate_share_title 自己分享标题 together self_donate_share_content 自己分享描述 together wx_default_share_img 默认分享图片 together cf_project_list_page_size 首页每页显示项目数 together cf_crowd_users_list_page_size 一起捐用户每页显示数 together cf_donator_users_list_page_size 捐款用户每页显示数 together weixin_appid 微信appid weixin_appsecret 微信appsecret
INSERT INTO `lingxi_config`.`crowdfunding_options` (`id`, `key_id`, `team_id`, `subdomain`, `project_id`, `option_value`, `update_time`, `create_time`) VALUES (NULL, '34', '0', '', '0', '<style>.content .modal .message{padding:0 5px}.content .modal .list_display li{padding:5px}.content .modal .list_display #li_name{width:100%;display:inline-block}.content .modal .list_display #li_name .control-group{float:left;width:100%}.content .modal .list_display #li_name .control-group .control-label{width:70px;float:left;padding:7px 0}.content .modal .list_display #li_name .control-group .radio{display:inline-block}.content .modal .list_display #li_name .control-group .controls{position:relative}.content .modal .list_display #li_name .control-group .controls span.errorTip{position:absolute !important;right:25px !important;top:8px}.content .modal .list_display #li_name .control-group .span6{width:70%}.content .modal .list_display #li_email{width:100%;display:inline-block}.content .modal .list_display #li_email .control-group{float:left;width:100%}.content .modal .list_display #li_email .control-group .control-label{width:70px;float:left;padding:7px 0}.content .modal .list_display #li_email .control-group .radio{display:inline-block}.content .modal .list_display #li_email .control-group .controls{position:relative}.content .modal .list_display #li_email .control-group .controls span.errorTip{position:absolute !important;right:25px !important;top:8px}.content .modal .list_display #li_email .control-group .span6{width:70%}.content .modal .list_display #li_mobile{width:100%;display:inline-block}.content .modal .list_display #li_mobile .control-group{float:left;width:100%}.content .modal .list_display #li_mobile .control-group .control-label{width:70px;float:left;padding:7px 0}.content .modal .list_display #li_mobile .control-group .radio{display:inline-block}.content .modal .list_display #li_mobile .control-group .controls{position:relative}.content .modal .list_display #li_mobile .control-group .controls span.errorTip{position:absolute !important;right:25px !important;top:8px}.content .modal .list_display #li_mobile .control-group .span6{width:70%}.content .modal .list_display #li_gender{width:100%;display:inline-block}.content .modal .list_display #li_gender .control-group{float:left;width:100%}.content .modal .list_display #li_gender .control-group .control-label{width:70px;float:left;padding:7px 0}.content .modal .list_display #li_gender .control-group .radio{display:inline-block}.content .modal .list_display #li_gender .control-group .controls{position:relative}.content .modal .list_display #li_gender .control-group .controls span.errorTip{position:absolute !important;right:25px !important;top:8px}.content .modal .list_display #li_gender .control-group .span6{width:70%}.content .modal .list_display #li_gender .radio{width:50px;margin:5px 2px}.content .modal .list_display #li_address select{float:left;margin-right:4px}.content .modal .list_display #li_new_item_1{display:inline-block;width:100%}.content .modal .list_display #li_new_item_1 .control-group{float:left;width:100%}.content .modal .list_display #li_new_item_1 .control-group .control-label{width:70px;float:left;padding:7px 0}.content .modal .list_display #li_new_item_1 .control-group .radio{display:inline-block}.content .modal .list_display #li_new_item_1 .control-group .controls{position:relative}.content .modal .list_display #li_new_item_1 .control-group .controls span.errorTip{position:absolute !important;right:25px !important;top:8px}.content .modal .list_display #li_new_item_1 .control-group .span6{width:70%}.content .modal .list_display #li_new_item_1 .radio{width:50px;margin:5px 2px}.content .modal .list_display #li_new_item_1 .radio{width:50px}.content .modal .list_display #li_new_item_2{width:100%;display:inline-block;width:50%}.content .modal .list_display #li_new_item_2 .control-group{float:left;width:100%}.content .modal .list_display #li_new_item_2 .control-group .control-label{width:70px;float:left;padding:7px 0}.content .modal .list_display #li_new_item_2 .control-group .radio{display:inline-block}.content .modal .list_display #li_new_item_2 .control-group .controls{position:relative}.content .modal .list_display #li_new_item_2 .control-group .controls span.errorTip{position:absolute !important;right:25px !important;top:8px}.content .modal .list_display #li_new_item_2 .control-group .span6{width:70%}.content .modal .list_display #li_new_item_2 .control-group input.span6{width:40%}.content .modal .list_display #li_new_item_3{width:100%;display:inline-block;width:50%}.content .modal .list_display #li_new_item_3 .control-group{float:left;width:100%}.content .modal .list_display #li_new_item_3 .control-group .control-label{width:70px;float:left;padding:7px 0}.content .modal .list_display #li_new_item_3 .control-group .radio{display:inline-block}.content .modal .list_display #li_new_item_3 .control-group .controls{position:relative}.content .modal .list_display #li_new_item_3 .control-group .controls span.errorTip{position:absolute !important;right:25px !important;top:8px}.content .modal .list_display #li_new_item_3 .control-group .span6{width:70%}.content .modal .list_display #li_new_item_3 .control-group input.span6{width:40%}.content .modal .list_display #li_new_item_4{display:inline-block;width:100%}.content .modal .list_display #li_new_item_4 .control-group{float:left;width:100%}.content .modal .list_display #li_new_item_4 .control-group .control-label{width:70px;float:left;padding:7px 0}.content .modal .list_display #li_new_item_4 .control-group .radio{display:inline-block}.content .modal .list_display #li_new_item_4 .control-group .controls{position:relative}.content .modal .list_display #li_new_item_4 .control-group .controls span.errorTip{position:absolute !important;right:25px !important;top:8px}.content .modal .list_display #li_new_item_4 .control-group .span6{width:70%}.content .modal .list_display #li_new_item_4 .control-group input.span6{width:70%}.content .modal .list_display #li_new_item_5 .radio.inline4{width:100%}.content .modal .list_display #li_new_item_5 .text-muted{font-size:12px}.content .modal .list_display #li_new_item_5 .errorTip{top:0}.content .modal .list_display #li_new_item_6{width:100%;display:inline-block}.content .modal .list_display #li_new_item_6 .control-group{float:left;width:100%}.content .modal .list_display #li_new_item_6 .control-group .control-label{width:70px;float:left;padding:7px 0}.content .modal .list_display #li_new_item_6 .control-group .radio{display:inline-block}.content .modal .list_display #li_new_item_6 .control-group .controls{position:relative}.content .modal .list_display #li_new_item_6 .control-group .controls span.errorTip{position:absolute !important;right:25px !important;top:8px}.content .modal .list_display #li_new_item_6 .control-group .span6{width:70%}.content .modal .list_display #li_new_item_6 .radio{width:80px;margin:5px 2px}.content .modal .list_display #li_amount{display:inline-block;width:100%}.content .modal .list_display #li_amount .control-group{float:left;width:100%}.content .modal .list_display #li_amount .control-group .control-label{width:70px;float:left;padding:7px 0}.content .modal .list_display #li_amount .control-group .radio{display:inline-block}.content .modal .list_display #li_amount .control-group .controls{position:relative}.content .modal .list_display #li_amount .control-group .controls span.errorTip{position:absolute !important;right:25px !important;top:8px}.content .modal .list_display #li_amount .control-group .span6{width:70%}.content .modal .list_display #li_amount .control-group input.span6{width:70%}</style>
<script type="text/javascript">
$(function() {
setTimeout(function() {
$(''#form_cf_donater_info .radio input[name="new_item_1"]'').change(function() {
toggleIsXiaoyou();
})
$(''#form_cf_donater_info .radio input[name="new_item_5"]'').change(function() {
toggleInvoiceAddress();
})
$(''#form_cf_donater_info .radio input[name="new_item_6"]'').change(function() {
toggleContactColumn();
})
toggleIsXiaoyou();
toggleInvoiceAddress();
toggleContactColumn();
$(''#li_email .control-label'').append('' <span style="color:red">*</span>'');
$(''#li_mobile .control-label'').append('' <span style="color:red">*</span>'');
}, 1100);
$("#li_amount").parent().append($("#li_new_item_5"));
$("#li_new_item_5").parent().append($("#li_address"));
var invoice_yes = $(''#li_new_item_5 .controls label'').first();
var invoice_no = $(''#li_new_item_5 .controls label'').last();
invoice_yes.html(invoice_yes.html() + "<span class=''text-muted invoice_tip''> (请填妥您的联系地址,以便发票准确到达您的手中)</span>");
invoice_no.html(invoice_no.html() + "<span class=''text-muted invoice_tip''> (基金会将为您保管发票,保管时间为一年)</span>");
$("#form_cf_donater_info").bind(''submit'', function(e) {
if ($.fn.validateForm('''', this)) {
if ($(''#form_cf_donater_info .radio input[name="new_item_5"]:checked'').val() == ''否'') {
$(''#li_address'').remove();
}
}
});
})
function toggleContactColumn()
{
if ($(''#form_cf_donater_info .radio input[name="new_item_6"]:checked'').val() == ''移动电话'') {
$(''#li_email'').hide();
$(''#li_mobile'').show();
} else {
$(''#li_mobile'').hide();
$(''#li_email'').show();
}
}
function toggleInvoiceAddress()
{
if ($(''#form_cf_donater_info .radio input[name="new_item_5"]:checked'').val() == ''是'') {
$(''#li_address'').show();
} else {
$(''#li_address'').hide();
}
}
function toggleIsXiaoyou()
{
if ($(''#form_cf_donater_info .radio input[name="new_item_1"]:checked'').val() == ''是'') {
$(''#li_new_item_2'').show();
$(''#li_new_item_3'').show();
} else {
$(''#li_new_item_2'').hide();
$(''#li_new_item_3'').hide();
}
}
function custom_submit_check_handler() {
if ($(''#form_cf_donater_info .radio input[name="new_item_6"]:checked'').val() == ''移动电话'') {
if (!validator.checkDatatype($("#form_cf_donater_info input[name=''mobile'']"), ''mobile'')) {
$("#form_cf_donater_info input[name=''mobile'']").focus();
notify(''请填写正确的移动电话'', ''danger'');
return false;
}
} else {
if (!validator.checkDatatype($("#form_cf_donater_info input[name=''email'']"), ''email'')) {
$("#form_cf_donater_info input[name=''email'']").focus();
notify(''请填写正确的电子邮箱'', ''danger'');
return false;
}
}
return true;
}
</script>', NULL, NULL);
INSERT INTO `custom_options` (`id`, `option_name`, `option_value`, `display_name`, `autoload`) VALUES (NULL, 'enable_together_fundraising', '1', NULL, 'Y');
UPDATE `lingxi_config`.`crowdfunding_options` SET `option_value` = '{"is_enabled":1,"share_btn_text":"\\u5206\\u4eab\\u51fa\\u53bb","share_btn_color":"#ff6811","share_modal_img":"\\/dist\\/images\\/crowdfund\\/wx_share.png","share_words_text":"[#nickname#]\\u652f\\u6301\\u4e86[#project_name#],\\u4f60\\u8fd8\\u4e0d\\u8fc7\\u6765\\u770b\\u770b\\uff1f","share_words_desc":"[#nickname#]\\u6b22\\u8fce\\u5927\\u5bb6\\u6350\\u8d60","project_share_text":"\\u5feb\\u6765\\uff0c\\u4e00\\u8d77\\u6350\\u8d60[#project_name#]\\u5427","project_share_desc":"\\u6709\\u7231\\u6350\\u8d60\\uff0c\\u4f5c\\u5feb\\u4e50\\u516c\\u76ca\\u4eba\\uff01","together_share_text":"[#nickname#]\\u9080\\u4f60\\u4e00\\u8d77\\u6350\\uff0c\\u52a9\\u529b\\u6e05\\u534e\\u53d1\\u5c55","together_share_desc":"\\u54ce\\u5466\\u4e0d\\u9519\\uff0c\\u5feb\\u8ddf\\u6211\\u4e00\\u8d77\\u4f5c\\u5feb\\u4e50\\u516c\\u76ca\\u4eba\\u5427\\uff01","fund_share_text":"[#nickname#]\\u9080\\u4f60\\u4e00\\u8d77\\uff0c\\u4f5c\\u5feb\\u4e50\\u516c\\u76ca\\u4eba\\uff01","fund_share_desc":"\\u6709\\u7231\\u6350\\u8d60\\uff0c\\u52a9\\u529b\\u6e05\\u534e\\u53d1\\u5c55","self_share_text":"[#nickname#]\\u6652\\u51fa\\u4ed6\\u7684\\u7b54\\u5377\\uff0c\\u4f60\\u5462","self_share_desc":""}' WHERE `crowdfunding_options`.`key_id` = 117 and `crowdfunding_options`.`team_id` = 0;
wx_fund_share_title 首页分享标题
wx_fund_share_desc 首页分享描述
wx_together_project_share_title 一起捐项目分享标题
wx_together_project_share_desc 一起捐项目分享描述
wx_project_share_title 项目分享标题
wx_project_share_desc 项目分享描述
self_donate_share_title 自己分享标题
self_donate_share_content
wx_payment_api_key
wx_payment_api_secret
sms_user
sms_pass
sms_type
sms_beian
weixin_notify_template_id
weixin_notify_template_data
UPDATE `lingxi_config`.`crowdfunding_option_keys` SET `type` = 'crowdfunding,together' WHERE `crowdfunding_option_keys`.`id` = 117;
UPDATE `lingxi_config`.`crowdfunding_option_keys` SET `type` = 'crowdfunding,together' WHERE `crowdfunding_option_keys`.`id` = 116;
UPDATE `lingxi_config`.`crowdfunding_option_keys` SET `type` = 'crowdfunding,together' WHERE `crowdfunding_option_keys`.`id` = 115;
UPDATE `lingxi_config`.`crowdfunding_option_keys` SET `type` = 'crowdfunding,together' WHERE `crowdfunding_option_keys`.`id` = 110;
UPDATE `lingxi_config`.`crowdfunding_projects` SET `create_user_id` = `user_id`
INSERT INTO `lingxi_config`.`crowdfunding_projects` (`id`, `type`, `team_id`, `subdomain`, `user_group_id`, `user_id`, `title`, `summary`, `desc`, `parent_id`, `is_donatable`, `is_followable`, `is_together_donatable`, `is_special`, `goal`, `end_time`, `pay_account_groups`, `donator_info_form`, `preview_image`, `sequence`, `css`, `theme_id`, `edit_step_num`, `status`, `create_time`, `update_time`, `create_user_id`, `update_user_id`) VALUES (NULL, 'together', '0', '', '0', 0, '建议12个字以内,情真意切,吸引眼球', '这里是项目简介', '<p style="margin-top: 0px; margin-bottom: 10px; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Arial, 'Microsoft Yahei', arial, sans-serif; font-size: 13px; line-height: 20px; white-space: normal; ">
<strong>关于项目</strong>
</p>
<p style="margin-top: 0px; margin-bottom: 10px; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Arial, 'Microsoft Yahei', arial, sans-serif; font-size: 13px; line-height: 20px; white-space: normal;">
(简短介绍项目详情,让支持者能够在最短时间内了解你的项目)
</p>', '0', '1', '0', '1', '0', '0', NULL, NULL, NULL, '/cf_default/cf_demo_project_img.jpg', '0', NULL, '0', '0', 'published', NULL, NULL, 0, 0)
UPDATE `lingxi_config`.`crowdfunding_option_keys` SET `scope` = '0' WHERE `crowdfunding_option_keys`.`id` = 5;
UPDATE `lingxi_config`.`crowdfunding_option_keys` SET `scope` = '1' WHERE `crowdfunding_option_keys`.`id` = 32;
UPDATE `lingxi_config`.`crowdfunding_option_keys` SET `scope` = '1' WHERE `crowdfunding_option_keys`.`id` = 37;
INSERT INTO `lingxi_config`.`crowdfunding_option_keys` (`id`, `type`, `scope`, `option_name`, `display_name`, `is_required`, `max_num`, `desc`, `append_tip`, `column_type`, `class`, `update_time`, `create_time`) VALUES (NULL, 'crowdfunding,together', '0', 'is_enable_donate_message', NULL, '0', '0', NULL, '是否显示捐赠留言', 'input', NULL, NULL, NULL);
INSERT INTO `lingxi_config`.`crowdfunding_option_keys` (`id`, `type`, `scope`, `option_name`, `display_name`, `is_required`, `max_num`, `desc`, `append_tip`, `column_type`, `class`, `update_time`, `create_time`) VALUES (NULL, 'crowdfunding,together', '0', 'donate_message_required', NULL, '0', '0', NULL, '筹款留言是否必填', 'input', NULL, NULL, NULL);
INSERT INTO `lingxi_config`.`crowdfunding_option_keys` (`id`, `type`, `scope`, `option_name`, `display_name`, `is_required`, `max_num`, `desc`, `append_tip`, `column_type`, `class`, `update_time`, `create_time`) VALUES (NULL, 'crowdfunding,together', '0', 'is_donate_message_required', NULL, '0', '0', NULL, '默认捐赠留言', 'input', NULL, NULL, NULL);
INSERT INTO `lingxi_config`.`crowdfunding_option_keys` (`id`, `type`, `scope`, `option_name`, `display_name`, `is_required`, `max_num`, `desc`, `append_tip`, `column_type`, `class`, `update_time`, `create_time`) VALUES (NULL, 'crowdfunding,together', '0', 'donate_message_title', '留言选项标题', '0', '0', NULL, NULL, 'input', NULL, NULL, NULL);
INSERT INTO `lingxi_config`.`crowdfunding_options` (`id`, `key_id`, `team_id`, `subdomain`, `project_id`, `option_value`, `update_time`, `create_time`) VALUES (NULL, '123', '0', '', '0', '0', NULL, NULL);
INSERT INTO `lingxi_config`.`crowdfunding_options` (`id`, `key_id`, `team_id`, `subdomain`, `project_id`, `option_value`, `update_time`, `create_time`) VALUES (NULL, '124', '0', '', '0', '0', NULL, NULL);
INSERT INTO `lingxi_config`.`crowdfunding_options` (`id`, `key_id`, `team_id`, `subdomain`, `project_id`, `option_value`, `update_time`, `create_time`) VALUES (NULL, '125', '0', '', '0', '匆匆四年,我们一起奋斗我们一起长大。饮水思源,助力母校让更多的师弟师妹茁壮成长。加油,希望大家支持我们的母校', NULL, NULL);
INSERT INTO `lingxi_config`.`crowdfunding_options` (`id`, `key_id`, `team_id`, `subdomain`, `project_id`, `option_value`, `update_time`, `create_time`) VALUES (NULL, '126', '0', '', '0', '您有什么想和我们说', NULL, NULL);
UPDATE `crowdfunding_projects` set edit_step_num = 50 WHERE edit_step_num = 40
update crowdfunding_option_keys
set option_name = 'is_donate_message_required' where option_name = 'donate_message_required'
UPDATE `lingxi_config`.`crowdfunding_options` SET `option_value` = '/dist/images/crowdfund/head_logo.jpg' WHERE `crowdfunding_options`.`id` = 4 and `crowdfunding_options`.`team_id` = 0;;
UPDATE `lingxi_config`.`crowdfunding_options` SET `option_value` = '/dist/images/crowdfund/fund_raising_number.png' WHERE `crowdfunding_options`.`id` = 7 and `crowdfunding_options`.`team_id` = 0;;
UPDATE `lingxi_config`.`crowdfunding_options` SET `option_value` = '/dist/images/crowdfund/fund_donate_amount.png' WHERE `crowdfunding_options`.`id` = 8 and `crowdfunding_options`.`team_id` = 0;;
UPDATE `lingxi_config`.`crowdfunding_options` SET `option_value` = '/dist/images/crowdfund/fund_refer_people.png' WHERE `crowdfunding_options`.`id` = 9 and `crowdfunding_options`.`team_id` = 0;;
UPDATE `lingxi_config`.`crowdfunding_options` SET `option_value` = '/dist/images/crowdfund/finish.png' WHERE `crowdfunding_options`.`id` = 10 and `crowdfunding_options`.`team_id` = 0;;
UPDATE `lingxi_config`.`crowdfunding_options` SET `option_value` = '/dist/images/crowdfund/crowd_fund.png' WHERE `crowdfunding_options`.`id` = 11 and `crowdfunding_options`.`team_id` = 0;;
UPDATE `lingxi_config`.`crowdfunding_options` SET `option_value` = '/dist/images/crowdfund/fund_raise_goal.png' WHERE `crowdfunding_options`.`id` = 12 and `crowdfunding_options`.`team_id` = 0;
UPDATE `lingxi_config`.`crowdfunding_options` SET `option_value` = '/dist/images/crowdfund/crowd_fund_no_title.png' WHERE `crowdfunding_options`.`id` = 13 and `crowdfunding_options`.`team_id` = 0
UPDATE `lingxi_config`.`crowdfunding_options` SET `option_value` = '/dist/images/crowdfund/fund_honor_bg.png' WHERE `crowdfunding_options`.`id` = 14 and `crowdfunding_options`.`team_id` = 0;
key_id=117的所有图片路径更改
CFC('pay_success_page_style', 'share_modal_img')确认路径没有问题
UPDATE `crowdfunding_options` SET `option_value` ='{"after_submit_action":"text","header_image":"/dist/images/crowdfund/fund_honor_bg.png","thank_text":"\\u611f\\u8c22\\u60a8\\u7684\\u4fe1\\u4efb\\u4e0e\\u652f\\u6301","after_submit_link":"http:\\/\\/\\\\\\/"}'WHERE `crowdfunding_options`.`team_id` = 12 and `crowdfunding_options`.`subdomain` = 'tuef1994'
ALTER TABLE `crowdfunding_projects` ADD `is_achieved_donatable` TINYINT NOT NULL DEFAULT '1' AFTER `is_together_donatable`;