什么是淘宝代购
淘宝代购是近年兴起的一种购物模式,是帮国外客户购买中国商品。主要是通过万邦科技的外贸代购模式,把淘宝、 天猫等电商平台的全站商品通过 API 接入到你的网站上,瞬间就可以架设一个有数亿产品的大型网上商城,而且可以 把这些中文的商品全部自动翻译成各国语言,能让国外客户看懂,直接在网站上下单,然后网站运营方代为购买再邮 寄给客户,收取商品差价以及代购费和运费,利润可观,市场巨大。目前跨境电子商务基本上都是采取的这种模式。
本文分享项目(复制 Taobaoapi2014) 是让海外的客人到平台选购淘宝的商品,平台通过调取淘宝开放平台的 api 和淘宝海外平台 api 的数据接口,把淘宝卖家的商品放在我们的平台的出售。
- 前端采用 vue,后端采用 php 的 laravel 框架
- 采用 php 的异步 socket 框架 workerman 创建聊天系统
- 从淘宝 api 获取的大量淘宝产品数据采用 mongodb 集群管理
- 使用 keepalived 做主从热备,nginx 做反响代理
- 使用 git hooks 和 rsync 做项目文件的实时同步
- 下单流程采用异步的方式,通过 rabbitmq 处理用户积分,发短信的功能
- mysql 做主从复制和读写分离
- 前端演示站地址:http://c0b.cc/R4rbK2
详细接口功能列表:
淘宝所有分类产品列表、搜索、展示
自动抓取、自动翻译
自动识别淘宝产品的折扣价
按重量和国家区域计算运费
首页可显示推荐商品
输入淘宝网址自动识别显示产品
按指定语言建站 支持全球在线支付接入,后台设置物流价格配送及物流轨迹,优惠券发放,会员等级,权限管理等
加:天猫商城产品列表、搜索、展示
加:无需申请 TAOBAO API
加:可销售本站商品功能
加:品牌综合导航页
加:产品评论展示
加:虚拟顶级分类
加:订单客户留言
加:客户最近浏览商品
加:客户收藏商品
加:支持多种运费公司模板
加:支持同一个站点多个语言
加:同店铺产品列表
加:按属性筛选
代购集运系统部分前端代码展示
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>1buyo – 淘宝、天猫、京东、1688海量商品代购服务</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="keywords" content="Onebuy,taobao agent,taobao agent in china,taobao shopping service,shopping in china,shopping service in china,shopping agent in china">
<meta name="description" content="Onebuy is the best shopping agent in China.We provide a low-cost international freight for purchasing on chinese shopping site including Taobao.com,360buy.com.">
<meta name="author" content="Onebuy">
<link rel="shortcut icon" href="/uploads/20220218/bf0db0674c4146995bfe086120dff732.ico" />
<link href="/assets/enterprise/css/frontend.css?v=1688783089" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
<script src="/assets/js/html5shiv.js"></script>
<script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script src="https://cdn.jsdelivr.net/combine/npm/core-js-bundle@3.4.2/minified.js,npm/regenerator-runtime@0.13.3,npm/@babel/polyfill@7.7.0/dist/polyfill.min.js"></script>
<script type="text/javascript">
var require = {
config: {"site":{"name":"1buyo","cdnurl":"","version":1688783089,"timezone":"Asia\/Shanghai","address_level":"2","piccut":"0"},"upload":{"cdnurl":"","uploadurl":"https:\/\/q.1buyo.com\/index\/ajax\/upload","bucket":"local","maxsize":"10mb","mimetype":"jpg,png,bmp,jpeg,gif,zip,rar,xls,xlsx,ico","chunking":false,"chunksize":2097152,"multipart":[],"multiple":false,"storage":"local"},"modulename":"index","controllername":"index","actionname":"index","jsname":"enterprise\/js\/frontend\/index","customjs":true,"moduleurl":"\/index","language":"zh-cn","currency":"CNY","currencyoptions":{"symbol":"\u00a5","decimal":".","thousand":",","precision":"2","format":"%s%v","value":1},"defcurrencyoptions":{"symbol":"\u00a5","decimal":".","thousand":",","precision":"2","format":"%s%v","value":1},"localtime":"2023-07-08 10:24:49","__PUBLIC__":"\/","__ROOT__":"\/","__CDN__":"","__CUSTOM__":"assets\/enterprise","price_conversion":"1","templates":["default","advanced","enterprise","flagship"],"template_switch":false,"keywordcheck":false} };
</script>
</head>
<body>
<nav class="topbar">
<div class="wrap" id="header_wrap">
<div class="topbar__toggle">
<div class="dropdown dropdown1">
<button type="button" class="btn dropdown-toggle btn1" id="dropdownMenu1" data-toggle="dropdown">
货币 <i class="fa fa-caret-down"></i>
</button>
<ul class="dropdown-menu hoverSelectorBlock dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li class="active">
<a href="?currency=CNY">CNY 人民币 (汇率:1.00) <i class="fa fa-check"></i>
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}