(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{225:function(t,n,e){"use strict";e.d(n,"a",(function(){return v}));var a=e(9),o=e(201),s=e.n(o),c=e(3),i=e(21),u=e(18),r=e.n(u),d=e(0),l=e(7),f=l.a.ACT_ID,k=(l.a.BEHAVIOR,l.a.MODULE),p=new r.a;function v(t,n){var e=s()("type=".concat(t,"&key=xS9bS0nS2fG6dC2t")),o={type:t,token:e};1===t&&(o.status=n,e=s()("status=".concat(n,"&type=").concat(t,"&key=xS9bS0nS2fG6dC2t")),o.token=e),a.default.get("/nuser/interface/updateUserTask",{params:o}).then((function(e){var a,o,s=e.data||{},u=null==s||null===(a=s.status)||void 0===a?void 0:a.code,r=(null==s||null===(o=s.status)||void 0===o?void 0:o.msg)||"error info";0===u?1===t?(c.a.commit("visitUserInfo/setTaskStatus",n),n>=2&&n<=4&&d.log.xsend(f,{behavior:"complete_task",module:[k.TaskSystem,n-1].join("_")})):c.a.commit("visitUserInfo/setTaskUserValue",!1):200001===u?p.log():Object(i.a)({content:r})})).catch((function(t){Object(i.a)({content:t||"网络问题，请求失败"})}))}}}]);