Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提交完数据在哪里“查看” #1

Open
auroralzone opened this issue May 16, 2024 · 5 comments
Open

提交完数据在哪里“查看” #1

auroralzone opened this issue May 16, 2024 · 5 comments
Assignees

Comments

@auroralzone
Copy link

无法找到提交完的商品。似乎没有发挥作用
后台日志:

load model begin.
load model end.

image

@PeterH0323
Copy link
Owner

感谢您的关注。

目前我还没搞好商品监管审核机制,所以暂时没开发这个按钮,😂

@auroralzone
Copy link
Author

好的。怎么可以上传自己的商品呢,比如一个csv文件。
有群组一起讨论一下吗?

@PeterH0323
Copy link
Owner

PeterH0323 commented May 16, 2024

目前页面读取的商品信息是从这个 yaml 中提取的,如果您现在自己尝试的话,可以修改这个 yaml : https://github.com/PeterH0323/Streamer-Sales/blob/main/product_info/product_info.yaml

如果本项目帮到您,可以右上角帮我点个 star~ ⭐⭐ , 您的 star ⭐是我们最大的鼓励,谢啦!

@auroralzone
Copy link
Author

auroralzone commented May 16, 2024

## xxx空调

【价价】***/*** ***/***
【直播价】***/*** ***/***
【规格】***
【颜色】***
【发货时间】48小时
【售后服务】七天无理由退货
【售后服务】免费送货上门
【售后服务】包邮包安装免人工费
...

### 亮点:
- ***
- ***
- ***
- ***
- ***

### 卖点:
1. ***
2. ***
3. ***
4. ***
5. ***
6. ***

外加很多图片。

这些数据如何添加上去呢?有参考吗😂

@PeterH0323
Copy link
Owner

PeterH0323 commented May 24, 2024

新版本已支持上传商品,同时文档已更新,请查看 😄

文档:

Streamer-Sales/README.md

Lines 525 to 548 in f2bbcd0

### 七、如何添加商品
商品文件都放置在 `/mnt/d/Project/Streamer-Sales/product_info` 目录中,其中
- `images`: 存放商品图片
- `instructions`: 存放商品说明书
- `product_info.yaml`: 商品信息表
`product_info.yaml` 解析:
```yaml
商品名:
heighlights: [亮点1, 亮点2, 亮点3]
images: 商品图片路径,必须位于 product_info/images/ 中
instruction: 商品说明书路径,必须位于 product_info/instructions/ 中,说明书需要时 markdown 格式
# 例子:
唇膏:
heighlights: [丰富色号, 滋润保湿, 显色度高, 持久不脱色, 易于涂抹, 便携包装]
images: "./product_info/images/lip_stick.png"
instruction:
...
```

@PeterH0323 PeterH0323 self-assigned this May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants