账户登录

This commit is contained in:
张锐 committed 2026-11-23 09:46:23 +08:00
1 parent 833161e34c
commit d8e17fce1d
58 files changed
-270

No files matched your search

-270
View File
@@ -1,270 +0,0 @@
from pathlib import Path
from reportlab.lib import colors
from reportlab.lib.enums import TA_CENTER, TA_LEFT
from reportlab.lib.pagesizes import A4
from reportlab.lib.styles import ParagraphStyle, getSampleStyleSheet
from reportlab.lib.units import mm
from reportlab.pdfbase import pdfmetrics
from reportlab.pdfbase.ttfonts import TTFont
from reportlab.platypus import (
BaseDocTemplate,
CondPageBreak,
Frame,
KeepTogether,
PageTemplate,
Paragraph,
Spacer,
Table,
TableStyle,
)
ROOT = Path(__file__).resolve().parents[3]
OUTPUT = ROOT / "output" / "pdf" / "张锐-Java后端开发-字体优化版.pdf"
FONT_DIR = Path("C:/Windows/Fonts")
pdfmetrics.registerFont(TTFont("ResumeCN", str(FONT_DIR / "msyhl.ttc"), subfontIndex=0))
pdfmetrics.registerFont(TTFont("ResumeCN-Bold", str(FONT_DIR / "msyh.ttc"), subfontIndex=0))
pdfmetrics.registerFont(TTFont("ResumeHei", str(FONT_DIR / "msyhbd.ttc"), subfontIndex=0))
PAGE_W, PAGE_H = A4
MARGIN_X = 18 * mm
MARGIN_TOP = 16 * mm
MARGIN_BOTTOM = 15 * mm
TEXT = colors.HexColor("#111111")
MUTED = colors.HexColor("#333333")
RULE = colors.HexColor("#D8D8D8")
def style(name, **kwargs):
defaults = dict(fontName="ResumeCN", fontSize=10.2, leading=18, textColor=TEXT)
defaults.update(kwargs)
return ParagraphStyle(name, **defaults)
styles = {
"name": style("name", fontName="ResumeHei", fontSize=23, leading=29, alignment=TA_CENTER),
"contact": style("contact", fontSize=10, leading=16.5, textColor=MUTED, alignment=TA_CENTER),
"section": style("section", fontName="ResumeHei", fontSize=14.1, leading=22, textColor=TEXT, spaceBefore=9, spaceAfter=6),
"body": style("body", fontSize=10.2, leading=18, spaceAfter=3),
"small": style("small", fontSize=9.6, leading=16.5, textColor=MUTED, spaceAfter=2),
"project": style("project", fontName="ResumeCN-Bold", fontSize=10.4, leading=17, textColor=TEXT),
"label": style("label", fontName="ResumeCN-Bold", fontSize=10, leading=17),
"bullet": style("bullet", fontSize=10.1, leading=18, leftIndent=24, firstLineIndent=-17, spaceAfter=3),
"footer": style("footer", fontSize=7.6, leading=10, textColor=MUTED, alignment=TA_CENTER),
}
def footer(canvas, doc):
canvas.saveState()
canvas.setStrokeColor(RULE)
canvas.setLineWidth(0.5)
canvas.line(MARGIN_X, 10.5 * mm, PAGE_W - MARGIN_X, 10.5 * mm)
text = f"张锐|Java 后端开发|第 {doc.page} 页"
canvas.setFont("ResumeCN", 7.5)
canvas.setFillColor(MUTED)
canvas.drawCentredString(PAGE_W / 2, 6.5 * mm, text)
canvas.restoreState()
class ResumeDoc(BaseDocTemplate):
def __init__(self, filename):
super().__init__(
filename,
pagesize=A4,
leftMargin=MARGIN_X,
rightMargin=MARGIN_X,
topMargin=MARGIN_TOP,
bottomMargin=MARGIN_BOTTOM,
title="张锐-Java 后端开发简历(项目详版)",
author="张锐",
)
frame = Frame(
MARGIN_X,
MARGIN_BOTTOM,
PAGE_W - 2 * MARGIN_X,
PAGE_H - MARGIN_TOP - MARGIN_BOTTOM,
leftPadding=0,
rightPadding=0,
topPadding=0,
bottomPadding=0,
)
self.addPageTemplates(PageTemplate(id="resume", frames=[frame], onPage=footer))
def p(text, key="body"):
return Paragraph(text, styles[key])
def section(title):
return [p(title, "section")]
def two_col(left, right, left_style="project", right_style="small"):
table = Table([[p(left, left_style), p(right, right_style)]], colWidths=[125 * mm, 45 * mm])
table.setStyle(TableStyle([
("VALIGN", (0, 0), (-1, -1), "TOP"),
("ALIGN", (1, 0), (1, 0), "RIGHT"),
("LEFTPADDING", (0, 0), (-1, -1), 0),
("RIGHTPADDING", (0, 0), (-1, -1), 0),
("TOPPADDING", (0, 0), (-1, -1), 0),
("BOTTOMPADDING", (0, 0), (-1, -1), 1),
]))
return table
def project_header(name, role, date):
return [
p(f'项目名称: <font name="ResumeHei" size="10.4">{name}</font><font name="ResumeCN"> | {role}</font>', "body"),
labeled("项目时间", date),
]
def labeled(label, text):
return p(f"{label}: {text}", "body")
def bullet(index, title, text):
return p(f"{index}. <b>{title}:</b>{text}", "bullet")
def build():
OUTPUT.parent.mkdir(parents=True, exist_ok=True)
story = []
story += [p("张锐", "name"), p("男|36岁|上海  13816410160|295065116@qq.com", "contact"), p("14年工作经验|求职方向:Java 后端开发", "contact"), Spacer(1, 3)]
story += section("个人优势")
story += [p("具备 14 年 Java 后端与 SaaS 平台研发经验,长期参与电商、独立站、酒店旅游、短剧及营销数据产品建设,能够从业务目标出发完成领域建模、系统设计、接口交付与线上稳定性治理。现任商远科技项目负责人 / 核心后端开发,个人独立负责全球社媒、WhatsApp 营销、商机挖掘、前台数据、SEO 数据及运营平台等核心链路。熟悉高并发任务调度、异步事件、数据采集分析、多实例幂等、失败补偿和跨平台开放接口,具备从 0 到 1 落地及跨团队推进能力。")]
story += section("核心技能")
skills = [
[p("后端与架构", "label"), p("Java、Spring Boot、Dubbo、MyBatis / MyBatis-Plus、REST API、分布式任务、事件驱动", "body")],
[p("数据与中间件", "label"), p("MySQL、Elasticsearch、Redis、StarRocks、Nacos、Flyway、数据采集与分析", "body")],
[p("平台与集成", "label"), p("OAuth 2.0、Webhook、Google GSC / Google Ads、Meta 与多社媒开放平台、第三方服务商接入", "body")],
]
t = Table(skills, colWidths=[27 * mm, 136 * mm])
t.setStyle(TableStyle([("VALIGN", (0, 0), (-1, -1), "TOP"), ("LEFTPADDING", (0, 0), (-1, -1), 0), ("RIGHTPADDING", (0, 0), (-1, -1), 0), ("TOPPADDING", (0, 0), (-1, -1), 0), ("BOTTOMPADDING", (0, 0), (-1, -1), 1)]))
story.append(t)
story += section("工作经历")
story += [two_col("商远科技(微盟孵化子公司)|项目负责人 / 核心后端开发", "2025.04 - 至今"), p("个人独立负责外贸 SaaS 独立站的社媒营销、商机挖掘、前台数据打点、SEO 数据及运营平台建设,承担业务方案、渠道接入、数据链路、后端研发和线上稳定性治理。", "small"), Spacer(1, 2), two_col("上海微盟企业发展有限公司|Java 后端开发", "2012.02 - 2024.11"), p("先后参与微信电商、酒店旅游、海外独立站、短剧、广告营销数据报表和 CID 等项目,承担核心模块研发、数据平台建设及项目推进。", "small")]
story += section("项目经验")
items = [
("开放平台统一接入", "从 0 到 1 完成开发者账户申请、应用创建与审核、权限申请、OAuth 授权、Webhook 订阅及回调验签,并负责官方 API 与服务商选型、联调和上线;抽象账号、权限、资源、Token 与事件模型,降低后续渠道扩展成本。"),
("全球社媒内容分发", "支持 Facebook、Instagram、LinkedIn、Pinterest、TikTok、X 和 YouTube,一次编排图文或视频并按平台转换差异化参数;建设定时发布、状态同步、互动指标回收与失败补偿链路。"),
("社媒私信与 WhatsApp 会话", "统一承接 Facebook Messenger、Instagram Messenger 与 WhatsApp 会话;通过 WAHA 完成账号登录、联系人及历史消息同步、文本和媒体消息收发,解决多账号切换、消息幂等与状态一致性问题。"),
("WABA 营销触达", "基于 YCloud 落地 WABA 开户、号码绑定与换绑、模板创建审核、Excel 名单导入、任务调度、状态回调、退订及会话承接;按照联系人时区、任务日额度和 Meta 额度控制发送,支持失败补发、模拟发送与账号风控保护。"),
("商机挖掘与触达", "构建“关键词 - 产品 - 企业 - 联系人”链路,优先查询本地 Elasticsearch,数据不足时路由至贸小七补充海外企业及联系人,并通过大模型增强缺失信息;以统一数据池、游标和领取机制支撑 WhatsApp、邮件与 Excel 导出复用。"),
("前台数据与 SEO", "设计独立站事件及指标模型,采集访客、会话、来源、设备、页面、落地页和关键转化行为,形成 PV/UV、访问路径与漏斗分析;完成 GSC 站点授权、搜索表现采集、收录和索引跟踪、关键词排名、配额控制及补偿调度。"),
("运营平台与稳定性治理", "建设社媒账号质量、内容发布、触达任务、商机数据、GSC 指标、运营日报与任务中心;围绕异步回调、定时调度和批处理完善多实例抢占、幂等去重、状态机、失败重试、补偿任务及多语言错误提示。"),
]
story += [KeepTogether([
*project_header("商远科技 - 外贸 SaaS 独立站与全球社媒营销平台", "项目负责人 / 核心后端开发", "2025.04 - 至今"),
labeled("项目描述", "面向外贸企业建设 SaaS 独立站获客平台,覆盖品牌曝光、全球社媒分发、客户发现、主动触达、会话承接、站内行为分析、SEO 优化与运营管理,形成从流量获取到线索转化的完整业务闭环。"),
labeled("责任描述", ""),
bullet(1, items[0][0], items[0][1]),
])]
story += [KeepTogether([bullet(i, title, text)]) for i, (title, text) in enumerate(items[1:], 2)]
story += [labeled("应用技术", "Java、Spring Boot、MyBatis-Plus、MySQL、Redis、Elasticsearch、Nacos、Flyway、OAuth 2.0、Webhook、Google GSC、Meta API、YCloud、WAHA"), Spacer(1, 6)]
items = [
("整体方案与指标建模", "负责需求梳理、数据源盘点、核心指标口径及处理链路设计,将渠道、商户、业务日期等维度统一到可复用的指标体系,保证报表数据可对账、可追溯。"),
("批量采集与清洗", "建设按小时运行的数据拉取、清洗、转换和汇总任务,支持百万级小时数据处理;针对第三方接口分页、限流、超时和重复数据设计分批拉取、幂等写入、失败重试与补偿机制。"),
("可配置报表能力", "设计报表模板、指标及维度配置,沉淀通用查询与统计能力,使不同业务团队可按行业和运营场景快速组合报表,减少重复研发。"),
("自动推送与无人值守", "实现企业微信报表定时推送,结合任务状态、数据完整性检查和异常重跑机制保障节假日全自动运行,降低人工维护与重复操作成本。"),
("数据质量与稳定性", "围绕跨来源数据建立时间窗口、去重、缺失补采和结果校验策略,对采集、清洗、汇总、推送各阶段记录任务状态与失败原因,便于快速定位数据延迟及口径异常。"),
]
story += [KeepTogether([
*project_header("广告营销数据报表平台", "项目负责人", "2024.05 - 2024.11"),
labeled("项目描述", "面向广告及运营团队建设统一营销数据报表平台,整合内部业务、外部商户及广告渠道数据,解决多来源数据口径不一致、人工汇总成本高和节假日报表交付不稳定等问题。"),
labeled("责任描述", ""),
bullet(1, items[0][0], items[0][1]),
])]
story += [KeepTogether([bullet(i, title, text)]) for i, (title, text) in enumerate(items[1:], 2)]
story += [labeled("应用技术", "Java、Spring Boot、MyBatis / MyBatis-Plus、MySQL、Redis、StarRocks、分布式任务、企业微信接口"), Spacer(1, 6)]
items = [
("商品与交易核心链路", "负责商品、规格、库存、前台展示、购物及订单等核心模块研发,梳理从商品发布、用户下单到订单履约的业务状态与接口边界,保障多商户场景下稳定运行。"),
("多租户 SaaS 能力", "围绕商户、门店、用户与业务数据建立租户隔离和权限控制机制,兼顾平台统一能力与商户个性化配置,支撑业务规模持续扩展。"),
("营销工具建设", "开发拼团、秒杀、优惠券、夺宝等营销能力,处理活动规则、参与资格、库存占用、优惠计算及订单联动,支撑商户拉新、转化和用户活跃。"),
("公众号与小程序承接", "对接微信生态的用户身份、授权和消息能力,衔接商城前台与交易后端,为公众号及小程序场景提供统一业务支撑。"),
("性能与稳定性优化", "参与系统长期维护、线上问题治理与性能优化,重点处理高峰活动下的并发访问、重复提交、库存一致性及任务可靠性问题,保障平台持续稳定服务大量商户。"),
]
wechat_story = [KeepTogether([
*project_header("微信电商 SaaS 平台", "核心开发", "2014.05 - 2018.10"),
labeled("项目描述", "参与微信商城 SaaS 从 0 到 1 建设及长期迭代,服务多商户经营场景,覆盖微信公众号、小程序、商品、订单、店铺装修、营销活动与用户运营等核心能力。"),
labeled("责任描述", ""),
bullet(1, items[0][0], items[0][1]),
])]
wechat_story += [KeepTogether([bullet(i, title, text)]) for i, (title, text) in enumerate(items[1:], 2)]
wechat_story += [labeled("应用技术", "Java、Spring、Dubbo、MyBatis、MySQL、Redis、微信公众平台 / 小程序接口"), Spacer(1, 6)]
story += wechat_story
others = [
(
"直播与 CID 广告数据平台|核心研发",
"2022.10 - 2024.10",
"面向直播运营与广告投放团队建设统一数据平台,覆盖实时流量、交易、广告消耗、归因及收益分析。",
[
("指标体系建设", "搭建直播实时、交易、流量和平台数据指标,统一时间、渠道、账户及业务维度,形成可持续维护的统计分析体系。"),
("多渠道广告整合", "接入腾讯广告、巨量广告、小红书等渠道数据,完成账户、计划、素材与转化数据的清洗和关联,支持跨平台投放对比及归因分析。"),
("自动化数据交付", "推动报表自动生成、定时推送与节假日无人值守,完善异常重试和数据校验,提升数据交付稳定性与运营效率。"),
("数据质量治理", "对渠道数据建立去重、缺失补采和结果核验机制,记录采集及汇总任务状态,便于定位数据延迟、接口异常与指标偏差。"),
],
),
(
"微信 / 抖音短剧 SaaS 平台|核心研发",
"2023.11 - 2024.10",
"建设微信小程序与抖音小程序短剧播放平台,覆盖内容消费、用户权益、广告变现、投放成本及收益核算。",
[
("用户权益与商业化", "设计积分、会员、付费解锁与激励广告等权益能力,支持多种内容解锁和商业化模式,并统一用户权益变更记录。"),
("消耗与收益核算", "对接番茄短剧平台的广告消耗与返点数据,承载日均百万级数据处理与核算,统一消耗、返点、收益和结算口径。"),
("投放效果分析", "接入巨量引擎广告数据,从计划、账户、素材、剧集等维度分析成本与转化,为内容选品、预算调整和投放优化提供依据。"),
("核算链路稳定性", "针对大批量数据处理完善分批执行、幂等写入、失败重试及结果校验,保障消耗、返点和收益数据按统一口径稳定产出。"),
],
),
(
"海外独立站 SaaS 平台|后端开发",
"2020.01 - 2022.10",
"服务全球商户的跨境独立站项目,负责询盘订单、消息通知、经营分析及海外广告数据整合。",
[
("询盘订单与消息中心", "建设 ToB 询盘订单及消息通知链路,支持邮件通知、付款提醒、订单确认和物流通知,提升商户对客户线索及订单状态的处理效率。"),
("独立站经营分析", "搭建交易、询盘、流量、来源、设备和访客行为等经营看板,统一站内访问与关键转化数据,帮助商户识别流量及转化问题。"),
("广告数据融合", "整合 Shopify 交易、Facebook Ads 广告及 Google Analytics 站点行为数据,统一消耗、流量、转化和订单口径,支持投放效果对比与异常定位。"),
("优化师分析看板", "提供账户、广告系列、素材、受众和落地页等维度的分析能力,为预算分配、素材优化及独立站转化提升提供数据支撑。"),
],
),
(
"智慧酒店与旅游 SaaS 平台|后端开发",
"2019.02 - 2021.05",
"建设酒店管理、在线预订、旅游分销与营销一体化平台,服务酒店日常经营及旅游产品运营。",
[
("酒店业务与 PMS 对接", "负责酒店订单、商城、微客服和员工管理,并对接 PMS 系统,覆盖预订、入住、退房及房态同步等核心流程。"),
("营销活动建设", "开发优惠券、拼团、秒杀和大转盘等营销工具,处理活动规则、参与资格与订单联动,支撑商户获客和用户活跃。"),
("旅游分销与结算", "实现旅游产品分销、佣金结算、行程管理、定位及数据分析能力,为渠道协作、收益核算和精细化运营提供支撑。"),
("经营数据分析", "沉淀酒店预订、订单、营销活动及旅游产品经营数据,为房态管理、活动复盘和商户日常运营提供统计依据。"),
],
),
]
others.sort(key=lambda item: item[1], reverse=True)
for project_index, (name, date, desc, duties) in enumerate(others, 1):
story += [KeepTogether([
*project_header(name.split("|")[0], name.split("|")[1], date),
labeled("项目描述", desc),
labeled("责任描述", ""),
bullet(1, duties[0][0], duties[0][1]),
])]
story += [KeepTogether([bullet(i, title, text)]) for i, (title, text) in enumerate(duties[1:2], 2)]
story += [Spacer(1, 5)]
story += section("教育经历")
story += [two_col("上海交通大学继续教育学院|本科|计算机科学与技术", "2019 - 2022")]
ResumeDoc(str(OUTPUT)).build(story)
print(OUTPUT)
if __name__ == "__main__":
build()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 266 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 290 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 KiB