字体,风格化,滤镜
可以完美还原PSD
把本地工作搬到云上来
http(s)请求一键调试
完善的开发文档
专职技术指导
psd模板手把手培训
免费培训
专职人员对接
免费的技术支持
可定制开发功能
发票合同一应俱全
<div> id="xiaoguotu"></div>
//查看演示 https://img.foxpsd.com/foxpsd_demo.html
let foxpsdObj = new foxpsd("xiaoguotu", {
psdSkus: ['1637653018199421773', '1637653008897318635'],
goodsSku: '163765136915264690',
token: 'Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
onload:function(){
//加载完成后的操作
}
})
if (foxpsdObj && foxpsdObj.load) {
//方法1 为某个图层设置纹理
foxpsdObj.command({
image: 'https://foxpsd.com/www/images/th3.jpg',
//传多个表示替换多个图层,使用英文逗号隔开
layers: 'zhengmian,sucai,qianpian,右袖'
})
//方法2 为多个图层设置纹理
foxpsdObj.commandAll({
data:[
{
name:'zhengmian',
content:'https://img.foxpsd.com/1637200300570/20220219/1645260391856696788.png'
},
{
name:'sucai',
content:'https://img.foxpsd.com/1637200300570/20220219/1645260391856696788.png'
},
{
name:'sucai2',
content:'https://img.foxpsd.com/1637200300570/20220219/1645260391856696788.png'
},
]
})
//方法三 销毁当前实例
foxpsdObj.destroy();
foxpsdObj =null;
}
//详情文档请查看 https://foxpsd.com/goods/server#shengchengtu_save
axios.post('https://foxpsd.com/api/shengchengtu/save/163765136915264690',
{
data:{
"psd_sku":"1637737947373803488",
"data":[
{
"name":"sucai",
"content":"https://yourServer.com/1628674835625.jpg"
},
{
"name":"sucai2",
"content":"https://yourServer.com/1628671976551.jpg"
}
],
"callback":"https://yourServer.com/test"
}
},
{
'Content-Type': 'application/json',
'Authorization':'Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
}
).then((res)=>{
res = {
"code": 10000,
"data": {
"success": 1,
"msg": "操作成功",
"sku": "1637896425191216816",
//只有支持实时预览的服务才有下面返回值
"oss": "http://xxxxxxx.com/1637200300570/shengchengtu/20211126/163789642619938254.jpg",
"fileName": "163789642619938254.jpg",
"relative": "/163789642619938254.jpg",
},
"msg": "请求成功"
}
})
Foxpsd是一款能把psd文件进行实时渲染的系统,可用于在线服装,鞋帽,箱包等定制类产品的个性化设计服务
开发对接预估:1小时
开发对接预估:1-3小时
开发对接预估:0.5小时
开发对接预估:1小时
开发对接预估:0.5小时
开发对接预估:1-3小时