61

GitHub - robGoods/sams: 山姆抢购

 2 years ago
source link: https://github.com/robGoods/sams
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

robSams

sam's blog

首先感谢Sam's在上海疫情期间,给我们的帮助,让我们在疫情期间依旧可以买到很多好的东西!

go run main.go --authToken=xxxxx

如果没有go环境,可以在 releases 下载编译好的文件,直接运行即可

$ go run main.go -h

Usage of ./sams:
  -authToken string
    	必选, Sam's App HTTP头部auth-token
  -barkId bark
    	可选,通知用的bark id, 可选参数
  -deliveryType int
    	可选,1 急速达,2, 全程配送 (default 2)
  -deviceId string
    	可选,HTTP头部device-id
  -floorId int
    	可选,1,普通商品 2,全球购保税 3,特殊订购自提 4,大件商品 5,厂家直供商品 6,特殊订购商品 7,失效商品 (default 1)
  -help
    	show help
  -latitude string
    	可选,HTTP头部latitude
  -longitude string
    	可选,HTTP头部longitude
  -trackInfo string
    	可选,HTTP头部track-info
  -promotionId string
      可选,优惠券id

BarkId

开始运行后按命令行提示操作即可。

关于hack版本

hack版本与master版本基本相同,有兴趣的朋友可以研究下哪些不同。会有惊喜的发现hushedhushedhushed

本项目仅供学习交流,严禁用作商业行为,特别禁止黄牛加价代抢等!

因违法违规等不当使用导致的后果与本人无关,如有任何问题可联系本人删除!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK