Commit a64aa2cc authored by 刘燕芳's avatar 刘燕芳

去掉部分打印

parent 8fdf6f3e
......@@ -50,8 +50,6 @@ if (message.action === ACTION.task) {
return true;
})
chrome.tabs.onUpdated.addListener(async (tabId, changeInfo, tab) => {
console.log('tab',tab);
//加载完毕后在执行一些动作
if (tab.status== "complete") {
//如果进入了千牛首页 则开始获取对应的数据信息
......@@ -167,8 +165,6 @@ function getCookies(url:string, name:string){
})
}
function getCookieAll(url:string) {
return new Promise((resolve, reject) => {
chrome.cookies.getAll({
......
import { bookingV2Urls } from "../config";
async function booking(info: any) {
console.log(2222);
let data:object = { catId: 150704, jsonBody: info}
return new Promise((resolve, reject) => {
fetch("https://item.upload.taobao.com/sell/v2/submit.htm", { method: "POST",body:JSON.stringify(data) }).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment