huangjiajun 6 месяцев назад
Родитель
Сommit
ccf333456a
4 измененных файлов: 18 добавлений и 13 удалений
  1. +1
    -1
      app/hdl/hdl_file_upload.go
  2. +6
    -6
      app/task/md/md_tik_tok_task.go
  3. +10
    -5
      app/task/svc/svc_tik_tok_task.go
  4. +1
    -1
      app/task/svc/svc_tik_tok_task_money.go

+ 1
- 1
app/hdl/hdl_file_upload.go
Разница между файлами не показана из-за своего большого размера
Просмотреть файл


+ 6
- 6
app/task/md/md_tik_tok_task.go Просмотреть файл

@@ -10,12 +10,12 @@ var SourceCate = map[string]string{
"ttbed9c86421e54c8501": "kujiang", //酷匠短剧
}
var SourceBili = map[string]string{
"tt99fdef4006c36ff001": "15",
"tt38e94e54a7d70c4601": "20",
"ttd02aa6974f166cca01": "20",
"tt8a93fc2e15affaaa01": "20",
"tt87bdf1001882dd4b01": "20",
"ttdc8aaa3743b4853f01": "20",
"tt99fdef4006c36ff001": "30",
"tt38e94e54a7d70c4601": "30",
"ttd02aa6974f166cca01": "30",
"tt8a93fc2e15affaaa01": "30",
"tt87bdf1001882dd4b01": "30",
"ttdc8aaa3743b4853f01": "30",
}
var TaskAddList = []map[string]string{
{


+ 10
- 5
app/task/svc/svc_tik_tok_task.go Просмотреть файл

@@ -64,6 +64,15 @@ func GetTaskDetail(appId string, tmp []int64) {
kujiangMap[utils.IntToStr(v.BookId)] = v
}
xinghes := map[string]string{
"7377197073747263522": "https://pan.baidu.com/s/1MZIxhxCu8OmxxcyRGJgWZw?pwd=szb7",
"7377173468921561107": "https://pan.baidu.com/s/1ln8r84Y5d-mKR6aaG-6icQ?pwd=ssdy",
"7376820249691324457": "https://pan.baidu.com/s/16qnmC03QmYGxfvfHpVOPbg?pwd=ks1p",
"7376445276631875647": "https://pan.baidu.com/s/1CRNqanQDrzPpkrhCDxa3rQ?pwd=p8ot",
"7376060139776032818": "https://pan.baidu.com/s/1b8HMzsiQCULZW3wYXro1qw?pwd=8sdo",
"7374948827419213834": "https://pan.baidu.com/s/1Tkyt0TvamMMvD1LD-Nmamg?pwd=b05e",
"7374701175310221339": "https://pan.baidu.com/s/1JOzWUcJeVwu9NShnieBMXw?pwd=kqjj",
"7374581090054389801": "https://pan.baidu.com/s/1PKT83xe0hMIuat0D81iumQ?pwd=1akn",
"7373833654033809447": "https://pan.baidu.com/s/15cMH1ds8gT0CGymSBO1NIQ?pwd=sqfr",
"7373480427329159203": "https://pan.baidu.com/s/1-OYIB1RmTXl3SeynP3Dy7Q?pwd=d2tx",
"7372912752035119144": "https://pan.baidu.com/s/1ICIGA5SBCXNwugJM3IxaoA?pwd=eae0",
"7372349272928403482": "https://pan.baidu.com/s/1zms9c0CG07-2kZVFKxYzVw?pwd=fie2",
@@ -79,7 +88,7 @@ func GetTaskDetail(appId string, tmp []int64) {
"7370911902962221119": "https://pan.baidu.com/s/1DQAvDk8zE0glH81TRvQhfg?pwd=ye4u",
"7370857345389297699": "https://pan.baidu.com/s/1MhJYTpXqUgPnOrJ2mvVClQ?pwd=mo78",
"7369875298587836455": "https://pan.baidu.com/s/1P5mGA0QKiRcHHgE1Bzz1cg?s4pn",
"7369875429492113419": "https: //pan.baidu.com/s/1ZHldm5KDXka_5arInJiDQw?pwd=avqw",
"7369875429492113419": "https://pan.baidu.com/s/1ZHldm5KDXka_5arInJiDQw?pwd=avqw",
"7369888148781809698": "https://pan.baidu.com/s/1ErZRBvvMOQlaZcyuDHfB_g?pwd=lo2y",
"7369813564837642281": "https://pan.baidu.com/s/1-Ks0ArP_8mKIsNgDAqI7PA?pwd=d86a",
"7369751707867283506": "https://pan.baidu.com/s/14qOLJey1bWEA0pqFF6xhgw?pwd=5cmc",
@@ -122,7 +131,6 @@ func GetTaskDetail(appId string, tmp []int64) {
"7358322670871576616": "https://pan.baidu.com/s/13RET87iAbgZlj-jn5mUwUg?pwd=y9rd",
"7357194974695391268": "https://pan.baidu.com/s/1cBU9PIXW99Y5W1XhvdPIpA?pwd=uxc6",
"7356840659325583414": "https://pan.baidu.com/s/1znMbDDAnIRQ7PwtiznOvTQ?pwd=9nj7",
"7356392523553636364": "https://pan.baidu.com/s/17YWBPOVbIi1QR-uKAAJEvQ?pwd=pph1",
"7355357328834658319": "https://pan.baidu.com/s/1uoDFjFm9iWt5eXGCYwx0Sg?pwd=9i8p",
"7353386971026309183": "https://pan.baidu.com/s/1LCgvkFblrE43e4JtxSOR4Q?pwd=svb5",
"7350898126372323369": "https://pan.baidu.com/s/1P6E4vYl-2x0s_qw1X5oviQ?pwd=84xz",
@@ -157,10 +165,7 @@ func GetTaskDetail(appId string, tmp []int64) {
"7327911477510209548": "https://pan.baidu.com/s/1ebMtvlMV2UCCvTOx7znFsA?pwd=d00o",
"7326049857058177024": "https://pan.baidu.com/s/1WtKwzdeiPQz0AjKzieU_6w?pwd=prkh",
"7324972262531153959": "https://pan.baidu.com/s/1qZCfNogUvYWWlkJ225qNQQ?pwd=l0ui",
"7324518583126753314": "https://pan.baidu.com/s/1yf7X6iI6bPYcJNLKTdd8QQ?pwd=kyvc",
"7324525415568015411": "https://pan.baidu.com/s/1ZxrZMbySTtMX_5F0eW24Aw?pwd=2hht",
"7324518767126429734": "https://pan.baidu.com/s/1J7CJYI76-I-9APIq1pzE5A?pwd=ai6t",
"7324518642941476905": "https://pan.baidu.com/s/1t3tcaGhCjsTwRSTXQJ4_-g?pwd=s9d9",
"7324518215852228644": "https://pan.baidu.com/s/1w7qG9kSfpZD1hCohnU8vUQ?pwd=0a3w",
"7324510965024751650": "https://pan.baidu.com/s/1bzzIqBftk030n8ZRddnnRA?pwd=6k6e",
"7320876050387353611": "https://pan.baidu.com/s/1Y6oe-upHqA72ivDp4MWBUA?pwd=04th",


+ 1
- 1
app/task/svc/svc_tik_tok_task_money.go Просмотреть файл

@@ -100,7 +100,7 @@ func TikTokTaskMoney(types string) {
//每个平台不一样的比例
sourceBili, ok := md.SourceBili[appId]
if ok == false {
sourceBili = "20"
sourceBili = "30"
}
platformBili := php2go.Round(discount*(utils.StrToFloat64(sourceBili)/100), 2)
commission := discount - talentBili - platformBili


Загрузка…
Отмена
Сохранить