线上交友盲盒系统主要功能:
1、在线盲盒,可放入纸条、获取纸条
2、可对接公众号
3、第三方支付,每次一元支付(后台支持灵活配置金额)
4、Z支付版、无限
5、支持二级月老模板,可加盟代理(代理费用可灵活配置金额)
开发技术:
前端:html5开发
后端:PHP+mysql+nginx-php框架
软件:php/mysql/nginx/宝塔
线上交友盲盒系统开发部分源码分享:
public function create()
{
$f = [];
$f[] = Form::frameImageOne('product', '选择盲盒', Url::buildUrl('productList', array('fodder' => 'product','cate_id'=>16)))->icon('plus')->width('100%')->height('500px');
$f[] = Form::hidden('product_id', '');
$f[] = Form::frameImageOne('product1', '中奖商品', Url::buildUrl('productsList', array('fodder' => 'product1','is_box'=>0,'ids'=>'')))->icon('plus')->width('100%')->height('500px');
$f[] = Form::input('product_ids', '中奖盲盒商品')->placeholder('不能在此处修改,可通过选择商品进行调整')->readonly(true);
$f[] = Form::frameImageOne('product2', '显示商品', Url::buildUrl('productsList', array('fodder' => 'product2','is_box'=>0,'ids'=>'')))->icon('plus')->width('100%')->height('500px');
$f[] = Form::input('show_product_ids', '显示盲盒商品')->placeholder('不能在此处修改,可通过选择商品进行调整')->readonly(true);
$f[] = Form::input('title', '盲盒名称');
$f[] = Form::input('info', '盲盒简介')->type('textarea');
$f[] = Form::input('unit_name', '单位')->placeholder('个、位');
$f[] = Form::select('temp_id', '盲盒运费模板')->setOptions(function () {
$list = ShippingTemplates::getList(['page' => 1, 'limit' => 20]);
$menus = [];
foreach ($list['data'] as $menu) {
$menus[] = ['value' => $menu['id'], 'label' => $menu['name']];
}
return $menus;
})->filterable(1)->col(12);
$f[] = Form::frameImageOne('image', '盲盒主图片(305*305px)', Url::buildUrl('admin/widget.images/index', array('fodder' => 'image')))->icon('image')->width('100%')->height('500px');
$f[] = Form::frameImages('images', '盲盒轮播图(640*640px)', Url::buildUrl('admin/widget.images/index', array('fodder' => 'images')))->maxLength(5)->icon('images')->width('100%')->height('500px');
$f[] = Form::number('num', '单次购买商品个数', 1)->min(1)->col(12);
$f[] = Form::number('sort', '排序')->col(12);
$f[] = Form::radio('is_host', '热门推荐', 1)->options([['label' => '开启', 'value' => 1], ['label' => '关闭', 'value' => 0]])->col(12);
$form = Form::make_post_form('添加盲盒', $f, Url::buildUrl('save'));
$this->assign(comp
|