AI prompts
base on 京东 抢券 log参数 ### 1、抢券直链模板
https://api.m.jd.com/client.action?functionId=newBabelAwardCollection&body={"activityId":代码,"from":"H5node","scene":"1","args":"key=代码,roleId=数字","log":代码,"random":代码}&client=wh5&clientVersion=1.0.0
### 2、优惠券直链参数说明
- activityId:活动页
- key:优惠券参数
- roleId:优惠券参数
- log:main.js生成
- random:main.js生成
说明:log参数和random参数,有效访问次数4次,第5次会返回:很抱歉,没有抢到
### 3、运行项目
```
npm install
node main.js
```
log接口:
```
GET请求:
http://127.0.0.1:5889/log
响应:
{
"log": "1652184562735~1IeNh1sKIwDd41d8cd98f00b204e9800998ecf8427e~1,1~C56C2F18382DC28F740958CAF3265B1D41BC5BEF~06wurir~C~TRBMWBAIbW8UF0ZcWxACbm8eFFVKWxAIBx4aRkEQDBAJAwcABwoMAAQAAQIODAsGBBAUF0VXUhACF0dUUFReU0dUFB4aQldTFAgaU1RGV0dZQFMQGhBIUVwQDGkaVhAeFFEaGRBRFB4aVhAeFFEaGRBRFG8UF1hYFAgJGRBRRRACFwEKBgNeVgYEVwVbBgADAFRcVFZUVVYJVFELDwUMAAVTFB4aW0IQDBBNFx4QQhACFwMEAwAJDQYHAAAPBgcQGhBSXhAIFFMaGRBURlAaDxAQGhBWQxAIFEcaGRBcV0QaDxBRFB4aRlFAFAhjF1EQGhBbFx4QVRAUF1EQGhBbFx4QVRBlGRBAWRACbhBTFB4aVBAeFFMaGRBTFB4aVBAeFFMaGRBTFG8UF1tdVxACF1RUUFReU0ZGFB4aVFgQDBBNFx4QVVsaDxBFBRwNGwAQGhBbU21EFAgaBQIQGhBaURAIFEBZW1ZdWw8MAAAFAwsIAhAeFF9SFwhpBh4IGQJvGhBaWV1VFAgaVBAeFF9LUhAIFFMaSA==~0u3byow",
"random": "45275907"
}
```
批量log接口:
```
GET请求:
http://127.0.0.1:5889/batchLog?count=1
响应:
[
{
"log": "1652275929182~17AEPc2fmS8d41d8cd98f00b204e9800998ecf8427e~2,1~FFDB06ACC7EE92F0C6C72254E8F859F4B67D51A6~08t2q9q~C~TRdGXRUPbWgeEkNbWxcIa2oZFFJAXhUPBAQCBRsXRUYQChUEAAAAAgAADgIKBA4BBwIGCBUZFEJXVBUPFEBUVlFTUEBUEhsXQVBTEg0XUFNGUUJUQ1QQHBVFUlsQCmwXVRceElQXGhdREhsXVRceElQXGhdREmoZFF9YEg0EGhdRQxUPFFdUVgQNV1AABlFXBQ0CBFIBAlQDUQRQD1EDUgJWBFFTEhsXWEUQChVAFBkQRBUPFAQEBQUHAQALAg4EDgcQHBVfXRcIElYXGhdUQFUXDBcQHBVbQBcIEkIXGhdcUUEXDBdREhsXRVZAEg1uFFYQHBVWFBkQUxUZFFYQHBVWFBkQUxVoGhdAXxUPbRdTEhsXVxceElYXGhdTEhsXVxceElYXGhdTEmoZFFxdURUPFFNUVlFTUEFGEhsXV18QChVAFBkQU14XDBdFAxkAGAcQHBVWUGpEEg0XBgUQHBVXUhcIEkVUWFFdXQoNBQcFAQIAARceElpfFA9pABsFGgVvHBVXWlpVEg0XVxceElpGURcIElYXSw==~0x2y4ra",
"random": "83271557"
}
]
```
### 4、京东抢券讨论群
欢迎加入讨论群,本仓库仅作为学习讨论
![京东抢券讨论群](https://wx4.sinaimg.cn/orj360/800facaagy1h23l69br2yj20b40e0jtp.jpg)
讨论群已满200,可以加微信,备注进讨论群
![微信号](https://wx4.sinaimg.cn/bmiddle/800facaagy1h28b7fqw82j20b40b4gmu.jpg)
", Assign "at most 3 tags" to the expected json: {"id":"2489","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"