Commit 892c2b7d by zhaihuitao

update

parent 2052fd65
......@@ -82,8 +82,18 @@
<file leaf-file-name="test_click.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/testcase/android_click/test_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285">
<caret line="24" column="14" lean-forward="false" selection-start-line="24" selection-start-column="14" selection-end-line="24" selection-end-column="14" />
<state relative-caret-position="270">
<caret line="23" column="18" lean-forward="false" selection-start-line="23" selection-start-column="18" selection-end-line="23" selection-end-column="18" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="test_gettime.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_gettime.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="60">
<caret line="4" column="24" lean-forward="false" selection-start-line="4" selection-start-column="24" selection-end-line="4" selection-end-column="24" />
<folding />
</state>
</provider>
......@@ -101,33 +111,21 @@
</provider>
</entry>
</file>
<file leaf-file-name="tokenTest.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/tokenTest.py">
<file leaf-file-name="test_custom.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_custom.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="300">
<caret line="21" column="13" lean-forward="false" selection-start-line="21" selection-start-column="12" selection-end-line="21" selection-end-column="13" />
<state relative-caret-position="195">
<caret line="17" column="21" lean-forward="false" selection-start-line="17" selection-start-column="21" selection-end-line="17" selection-end-column="21" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="test_login.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_login.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285">
<caret line="19" column="20" lean-forward="false" selection-start-line="19" selection-start-column="20" selection-end-line="19" selection-end-column="20" />
<folding>
<element signature="e#101#116#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="test_pageduration.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_pageduration.py">
<file leaf-file-name="tokenTest.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/tokenTest.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="225">
<caret line="19" column="28" lean-forward="false" selection-start-line="19" selection-start-column="28" selection-end-line="19" selection-end-column="28" />
<state relative-caret-position="300">
<caret line="21" column="13" lean-forward="false" selection-start-line="21" selection-start-column="12" selection-end-line="21" selection-end-column="13" />
<folding />
</state>
</provider>
......@@ -686,13 +684,6 @@
<updated>1596505503233</updated>
<workItem from="1596786333197" duration="228000" />
</task>
<task id="LOCAL-00024" summary="add install enevt">
<created>1597657096457</created>
<option name="number" value="00024" />
<option name="presentableId" value="LOCAL-00024" />
<option name="project" value="LOCAL" />
<updated>1597657096458</updated>
</task>
<task id="LOCAL-00025" summary="add install enevt">
<created>1597657223904</created>
<option name="number" value="00025" />
......@@ -1029,7 +1020,14 @@
<option name="project" value="LOCAL" />
<updated>1604903723103</updated>
</task>
<option name="localTasksCounter" value="73" />
<task id="LOCAL-00073" summary="update">
<created>1604903810224</created>
<option name="number" value="00073" />
<option name="presentableId" value="LOCAL-00073" />
<option name="project" value="LOCAL" />
<updated>1604903810224</updated>
</task>
<option name="localTasksCounter" value="74" />
<servers />
</component>
<component name="TestHistory">
......@@ -1372,19 +1370,19 @@
<element signature="n#style#0;n#h1#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="e#3653#3657#0" expanded="true" />
<element signature="e#3667#3671#0" expanded="true" />
<marker date="1604903743610" expanded="true" signature="17850:18153" ph="..." />
<marker date="1604903743610" expanded="true" signature="18782:18920" ph="..." />
<marker date="1604903743610" expanded="true" signature="18782:18914" ph="..." />
<marker date="1604903743610" expanded="true" signature="18305:18511" ph="..." />
<marker date="1604903743610" expanded="true" signature="18782:18904" ph="..." />
<marker date="1604903743610" expanded="true" signature="18782:18893" ph="..." />
<marker date="1604903743610" expanded="true" signature="18968:19077" ph="..." />
<marker date="1604903743610" expanded="true" signature="19106:19112" ph=" " />
<marker date="1604903743610" expanded="true" signature="19135:19214" ph="..." />
<marker date="1604903743610" expanded="true" signature="19215:19339" ph="..." />
<marker date="1604903743610" expanded="true" signature="19232:19333" ph="..." />
<marker date="1604903743610" expanded="true" signature="19282:19297" ph="..." />
<marker date="1604903743610" expanded="true" signature="19317:19329" ph="..." />
<marker date="1604903824340" expanded="true" signature="17850:18153" ph="..." />
<marker date="1604903824340" expanded="true" signature="41251:41389" ph="..." />
<marker date="1604903824340" expanded="true" signature="41251:41383" ph="..." />
<marker date="1604903824340" expanded="true" signature="18305:18511" ph="..." />
<marker date="1604903824340" expanded="true" signature="41251:41373" ph="..." />
<marker date="1604903824340" expanded="true" signature="41251:41362" ph="..." />
<marker date="1604903824340" expanded="true" signature="41437:41546" ph="..." />
<marker date="1604903824340" expanded="true" signature="41575:41581" ph=" " />
<marker date="1604903824340" expanded="true" signature="41604:41683" ph="..." />
<marker date="1604903824340" expanded="true" signature="41684:41808" ph="..." />
<marker date="1604903824340" expanded="true" signature="41701:41802" ph="..." />
<marker date="1604903824340" expanded="true" signature="41751:41766" ph="..." />
<marker date="1604903824340" expanded="true" signature="41786:41798" ph="..." />
</folding>
</state>
</provider>
......@@ -1455,32 +1453,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_custom.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="195">
<caret line="17" column="21" lean-forward="false" selection-start-line="17" selection-start-column="21" selection-end-line="17" selection-end-column="21" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_gettime.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="60">
<caret line="4" column="24" lean-forward="false" selection-start-line="4" selection-start-column="24" selection-end-line="4" selection-end-column="24" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_install.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="330">
<caret line="22" column="29" lean-forward="false" selection-start-line="22" selection-start-column="29" selection-end-line="22" selection-end-column="29" />
<folding>
<element signature="e#102#117#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_login.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285">
......@@ -1549,10 +1521,36 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_custom.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="195">
<caret line="17" column="21" lean-forward="false" selection-start-line="17" selection-start-column="21" selection-end-line="17" selection-end-column="21" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_gettime.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="60">
<caret line="4" column="24" lean-forward="false" selection-start-line="4" selection-start-column="24" selection-end-line="4" selection-end-column="24" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_install.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="330">
<caret line="22" column="29" lean-forward="false" selection-start-line="22" selection-start-column="29" selection-end-line="22" selection-end-column="29" />
<folding>
<element signature="e#102#117#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_click/test_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285">
<caret line="24" column="14" lean-forward="false" selection-start-line="24" selection-start-column="14" selection-end-line="24" selection-end-column="14" />
<state relative-caret-position="270">
<caret line="23" column="18" lean-forward="false" selection-start-line="23" selection-start-column="18" selection-end-line="23" selection-end-column="18" />
<folding />
</state>
</provider>
......
......@@ -123,8 +123,8 @@ function html_escape(s) {
<div class='heading'>
<h1 style="font-family: Microsoft YaHei">&lt;TKIO接口监控报告&gt;</h1>
<p class='attribute'><strong>测试人员 : </strong> 翟会涛</p>
<p class='attribute'><strong>开始时间 : </strong> 2020-11-09 14:35:37</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:06.206539</p>
<p class='attribute'><strong>开始时间 : </strong> 2020-11-09 14:37:02</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:02.055804</p>
<p class='attribute'><strong>测试结果 : </strong> 共 14,通过 14,通过率= 100.00%</p>
<p class='description'>TKIO接口自动化测试用例</p>
......@@ -177,9 +177,283 @@ function html_escape(s) {
<div id='div_pt1_1' class="collapse in">
<pre>
pt1_1: 执行结果:
=================
&lt;Response [200]&gt;
pt1_1: click&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
&lt;title&gt;TrackingIO&lt;/title&gt;
&lt;meta name="keywords" content="热云数据 TrackingIO" /&gt;
&lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&gt;
&lt;meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"&gt;
&lt;link rel="shortcut icon" href="favicon.ico" type="image/x-icon"&gt;
&lt;link rel="stylesheet" href="styles/index.css?r=0.866073161829263"&gt;
&lt;script src="scripts/change.js?r=0.5787849386688322"&gt;&lt;/script&gt;
&lt;script src="scripts/com.js?r=0.32109934743493795"&gt;&lt;/script&gt;
&lt;script src="scripts/app.js?r=0.922922644065693"&gt;&lt;/script&gt;
&lt;script src="scripts/ui.js?r=0.024402349023148417"&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body ng-app="app" ng-controller="indexCtrl" ng-class="{'noreport':backReport}"&gt;
&lt;div class="mainBody"&gt;
&lt;div class="header" ng-class="{'channelTop': channelAlert &amp;&amp; isChannelU}"&gt;
&lt;div class="leftHeader bdRight"&gt;
&lt;a href="home.html"&gt;
&lt;div ng-show="doMainType == 0" class="iconfont icon-logo"&gt;&lt;/div&gt;
&lt;!--&lt;img ng-cloak ng-show="doMainType == 1" class="rlogo_xinhua" src="./images/logo_xinhua.png" alt=""&gt;--&gt;
&lt;img ng-cloak ng-show="doMainType == 1" class="rlogo_xinhua" ng-src="{{otherCompanyInfo.indexLogo}}" alt=""&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;div class="rightHeader clearfix"&gt;
&lt;!--&lt;div class="toggleBtn" ng-if="!showGoHomeBtn() &amp;&amp; doMainType == 0"&gt;&lt;a href="{{ioUrl}}" target="_blank" ng-cloak&gt;{{'进入灵犀' | translate}}&lt;/a&gt;&lt;/div&gt;--&gt;
&lt;div class="toggleBtnBack" ng-click="goPage('collect.dashboard')" ng-if="showGoHomeBtn()&amp;&amp;applistInfo.length&gt;0"&gt;&lt;a target="_blank" ng-cloak&gt;{{'返回主页' | translate}}&lt;/a&gt;&lt;/div&gt;
&lt;div class="toggleBtnBack" ng-click="goPage('collect.app')" ng-if="showGoHomeBtn()&amp;&amp;applistInfo.length&lt;=0"&gt;&lt;a target="_blank" ng-cloak&gt;{{'返回主页' | translate}}&lt;/a&gt;&lt;/div&gt;
&lt;div ng-click="goPage('collect.advancedServices')" class="as" style="line-height: 34px;" ng-cloak&gt;
&lt;span class="dia_icon" title="{{'高级服务' | translate}}"&gt;&lt;/span&gt;
&lt;span style="margin-left: 6px;"&gt;{{'高级服务' | translate}}&lt;/span&gt;
&lt;/div&gt;
&lt;div class="flowinfo"&gt;
&lt;div class="flowCircle" ng-if="flowKnow &amp;&amp; !flowRestrict"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="userinfo tran" style="margin-left: 18px;" ng-mouseenter="showTran=true" ng-mouseleave="showTran=false" ng-show="showLang"&gt;
&lt;span ng-class="{'tranEnIconN': $root.getLang() =='en_US','tranZhIconN': $root.getLang() =='zh_CN'}"&gt;&lt;/span&gt;
&lt;div class="userInfoWrap tranPDiv" ng-show="showTran" style=""&gt;
&lt;div class="tranSDiv" ng-click="setLang(1);showTran=false;"&gt;{{'中文' | translate}}&lt;/div&gt;
&lt;div class="tranSDiv" ng-click="setLang(0);showTran=false;"&gt;{{'英文' | translate}}&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="userinfo headeruserinfo" ng-mouseenter="showinfo=true;" ng-mouseleave="closeImformation()" ng-class="{'active':showinfo}" ng-cloak&gt;
&lt;span class="userIconN"&gt;&lt;/span&gt;
&lt;!--更改下面隐藏的弹窗闪屏问题,去掉ng-show="showinfo" 判断显示隐藏,改用.headeruserinfo css hover判断。--&gt;
&lt;div class="userInfoWrap" ng-class="{'userInfoWrapFlow':byflow &amp;&amp; !flowRestrict &amp;&amp; (isSuper || isManage)}"&gt;
&lt;div class="userInfoDetail"&gt;
&lt;div class="itemInfo"&gt;
&lt;div class="userflowText"&gt;&lt;span class="userIcon"&gt;&lt;/span&gt;{{loginuserName}}&lt;/div&gt;
&lt;div style="width: auto;background-size: 474px 122px;background-position: -344px -8px;" ng-if="!flowRestrict &amp;&amp; (isSuper || isManage)" class="userflowType flowType" ng-class="{'flowTypeRed':flowLevel==5,'flowTypeRedLong':flowLevel==6,'userflowTypeLong':flowLevel==6}"&gt;
&lt;p style="text-indent: 14px;" class="small-font smallsize-font"&gt;{{flowName | translate}}&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="itemInfo light" ng-if="flowRestrict"&gt;
&lt;span class="userPrizeIcon regPrize"&gt;&lt;/span&gt;
&lt;span class="mr10"&gt;{{ '注册会员' | translate}}&lt;/span&gt;
&lt;!-- cuPrize suPrize goldPrize damPrize--&gt;
&lt;span style="cursor: default;"&gt;{{ '升级套餐,请联系商务' | translate}}&lt;/span&gt;
&lt;/div&gt;
&lt;!--按年--&gt;
&lt;div class="itemInfo light" ng-if="!byflow &amp;&amp; !flowRestrict &amp;&amp; (isSuper || isManage)"&gt;
{{ '广告效果监控:' | translate}} {{trackUsed}}K {{'已使用流量'| translate}}
&lt;/div&gt;
&lt;!--按流量--&gt;
&lt;div class="itemInfo light" ng-if="byflow &amp;&amp; !flowRestrict &amp;&amp; (isSuper || isManage)"&gt;
&lt;div class="userflowText"&gt;{{ '广告效果监控(年流量):' | translate}}&amp;nbsp;&lt;/div&gt;
&lt;div class="allflow"&gt;
&lt;div class="useflow" ng-class="{'useflowRed': trackPercent &gt;= 0.8}" style="width: {{trackPercent*70}}px; max-width: 70px"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="userflowText"&gt;{{trackUsed}}K/{{trackAll}}K&lt;/div&gt;
&lt;/div&gt;
&lt;div class="userflowText" style="margin-top: -15px;display: block;color: #666;"&gt;{{'流量 = 点击流量 + 展示流量' | translate}}&lt;/div&gt;
&lt;div class="itemInfo light" ng-if="!preStatus"&gt;
{{ '有效期至:' | translate}}&amp;nbsp;&lt;span ng-class="{'error':pastLong &lt;= 0}"&gt;{{userPastDate}}&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="userInfoBottom" ng-class="{'third':isSuper || isManage,'byflow':byflow &amp;&amp; !flowRestrict &amp;&amp; (isSuper || isManage)}" ng-style="{'en':{'height':'unset','line-height':'unset'}}[lang]"&gt;
&lt;div class="itemBtn light" ng-click="goPage('collect.userinfo')" ng-class="{'impItemBtn': lang=='en'}"&gt;
{{ '账号管理' | translate}}
&lt;/div&gt;
&lt;!--&lt;div class="itemBtn light" ng-click="goPage('collect.auth')" ng-if="!demoU &amp;&amp; showMenu('auth')" ng-class="{'impItemBtn': lang=='en'}"&gt;
{{ '成员管理' | translate}}
&lt;/div&gt;&lt;br ng-if="lang=='en'"&gt;&lt;div class="itemBtn light" ng-click="goPage('collect.authrole')" ng-if="!demoU &amp;&amp; (isSuper || isManage)" ng-class="{'impItemBtn': lang=='en'}"&gt;
{{ '权限管理' | translate}}
&lt;/div&gt;--&gt;
&lt;div class="itemBtn light" ng-click="goPage('collect.auth')" ng-if="showMenu('auth')" ng-class="{'impItemBtn': lang=='en'}"&gt;
{{ '成员管理' | translate}}
&lt;/div&gt;&lt;br ng-if="lang=='en'"&gt;
&lt;div class="itemBtn light" ng-click="goPage('collect.authrole')" ng-if="isSuper || isManage|| demoU" ng-class="{'impItemBtn': lang=='en'}"&gt;
{{ '权限管理' | translate}}
&lt;/div&gt;
&lt;div class="itemBtn light" ng-mouseenter="lgo = true;" ng-mouseleave="lgo = false;" ng-click="userLogout()" ng-class="{'impItemBtn': lang=='en'}"&gt;
{{ '注销' | translate}}
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!--&lt;a ng-if="!preStatus &amp;&amp; doMainType == 0" class="wapSetInfo" ng-click="goHelp()" target="_blank" title="{{ '帮助中心' | translate}}"&gt;&lt;span class="helpIconN"&gt;&lt;/span&gt;&lt;/a&gt;--&gt;
&lt;a ng-if="!preStatus" class="wapSetInfo" ng-click="goHelp()" target="_blank" title="{{ '帮助中心' | translate}}"&gt;&lt;span class="helpIconN"&gt;&lt;/span&gt;&lt;/a&gt;
&lt;!-- 消息公告 --&gt;
&lt;noticenews&gt;&lt;/noticenews&gt;
&lt;div class="userinfo" ng-if="!isChannelU" ng-mouseenter="showset=true;" ng-mouseleave="showset=false" ng-class="{'active':showset}" ng-cloak&gt;
&lt;span class="setIcon"&gt;&lt;/span&gt;
&lt;ul class="setInfoWrap" ng-show="showset" ng-style="{'en':{'width':'200px'}}[lang]"&gt;
&lt;li ng-click="goPage('collect.channel','manage')"&gt;{{ '投放账号管理' | translate}}&lt;/li&gt;
&lt;li ng-click="goPage('collect.customchannel','manage')"&gt;{{ '自定义渠道管理' | translate}}&lt;/li&gt;
&lt;li ng-click="goPage('collect.deviceManage','manage')"&gt;{{ '设备管理' | translate}}&lt;/li&gt;
&lt;!-- &lt;li ng-click="goPage('collect.deeplink','manage')" ng-show="isSuper"&gt;{{ 'Deeplink参数设置' | translate}}&lt;/li&gt; --&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;!--产品下拉列表--&gt;
&lt;div class="wapSetInfo p" ng-show="noLeftMenus.indexOf(pagePath)==-1"&gt;
&lt;select-list meau-info="applistInfo" meau-id="appid" meau-data="appidInit" meau-refresh="appfresh" class="appWrap" icon-type="white"&gt;&lt;/select-list&gt;
&lt;/div&gt;
&lt;!-- &lt;div class="wapSetInfo p" ng-click="goPage('collect.app')"&gt;
&lt;span class="app_icon" title="全部产品"&gt;&lt;/span&gt;
&lt;label ng-show="noLeftMenus.indexOf(pagePath)&gt;-1"&gt;全部产品&lt;/label&gt;
&lt;/div&gt; --&gt;
&lt;!-- &lt;div class="wapSetInfoBox"&gt; --&gt;
&lt;!--所有地区--&gt;
&lt;!-- &lt;div class="wapSetInfo p rg0" &gt;
&lt;select-list meau-info="appArealistInfo" meau-placeholder="{{'按地理位置搜索' | translate}}" meau-id="appAreaId" meau-data="appAreaIdInit" keyid="regionKey" keyname="showValue" class="appWrap appWrap_border" class="appWrap" icon-type="white"&gt;&lt;/select-list&gt;
&lt;/div&gt; --&gt;
&lt;!--产品下拉列表--&gt;
&lt;!-- &lt;div class="wapSetInfo p rg0 wap_bd" ng-show="noLeftMenus.indexOf(pagePath)==-1"&gt;
&lt;select-list meau-info="applistInfo" meau-id="appid" meau-data="appidInit" meau-refresh="appfresh" class="appWrap appWrap_border" icon-type="white"&gt;&lt;/select-list&gt;
&lt;/div&gt; --&gt;
&lt;!-- &lt;/div&gt; --&gt;
&lt;div class="wapSetInfo p" ng-click="goPage('collect.app')"&gt;
&lt;span class="app_icon" title="{{'全部产品' | translate}}"&gt;&lt;/span&gt;
&lt;label ng-show="noLeftMenus.indexOf(pagePath)&gt;-1"&gt;{{'全部产品' | translate}}&lt;/label&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="contentWrap"&gt;
&lt;div class="newsTips" ng-if="showDashboardTip &amp;&amp; appOnlineTips"&gt;
尊敬的用户:距离您的产品 &lt;span class="fs14"&gt;"{{appName}}" &lt;/span&gt;上线还有 &lt;span&gt;{{appOnlineRemindDays}}&lt;/span&gt; 天,如您已在App Store修改了预计上线日期,请将最新的产品上线日期同步更新至TrackingIO,&lt;a class="hover" ng-click="goAppDetailpage()" href=""&gt;点击进入产品设置&lt;/a&gt;
&lt;a class="fakeAlertWarn" href="" ng-click="closeNewsTip()"&gt;不再提醒&lt;/a&gt;
&lt;div class="fakeAlertClose" ng-click="closeHint()"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="alphaDiv" id="sysLoad" style="display: none;z-index: 999;"&gt;
&lt;div class="spinner"&gt;
&lt;div class="rect1"&gt;&lt;/div&gt;
&lt;div class="rect2"&gt;&lt;/div&gt;
&lt;div class="rect3"&gt;&lt;/div&gt;
&lt;div class="rect4"&gt;&lt;/div&gt;
&lt;div class="rect5"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="alphaDiv" id="alpLoad" style="display: none;z-index: 99;"&gt;&lt;/div&gt;
&lt;!-- &lt;div class="infoTips spin-toggle" ng-if="operShow"&gt;{{operMsg}}&lt;/div&gt; --&gt;
&lt;div class="infoTips toggle" ng-if="operShow" ng-cloak&gt;{{operMsg}}&lt;/div&gt;
&lt;div class="leftSidebar slide-down" ng-show="noLeftMenus.indexOf(pagePath)==-1"&gt;
&lt;!----&gt;
&lt;div ui-view&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="rightWrap"&gt;
&lt;div class="rightContent slide-top" ui-view="content" ng-style="resizeStyle()" ng-if="!hasPermission"&gt;
&lt;/div&gt;
&lt;!--&lt;div class="rightContent slide-top" ng-style="resizeStyle()" ng-if="hasPermission"&gt;&lt;p class="pageNoaccess"&gt;暂无权限&lt;/p&gt;&lt;/div&gt;--&gt;
&lt;div class="rightContent slide-top" ng-style="resizeStyle()" ng-if="hasPermission"&gt;
&lt;no-permission page-path="pagePath" desc="currentPageTips['页面描述']"&gt;
&lt;!--&lt;no-permission-desc&gt;{{currentPageTips['页面描述']}}&lt;/no-permission-desc&gt;--&gt;
&lt;!--&lt;no-permission-title&gt;{{currentPageTips['DAU趋势']}}&lt;/no-permission-title&gt;--&gt;
&lt;/no-permission&gt;
&lt;/div&gt;
&lt;div class="copyright" ng-style="resizeStyle()" ng-show="doMainType == 0"&gt;
2019 TrackingIO.com All Rights Reserved &lt;a href="http://www.miitbeian.gov.cn/" target="_blank"&gt;{{'京ICP备14021832号'| translate}}&lt;/a&gt;
&lt;/div&gt;
&lt;div class="copyright" ng-style="resizeStyle()" ng-show="doMainType == 1"&gt;
&lt;!--{{'京ICP备17012310号'| translate}}--&gt;
&lt;p style="padding-top: 20px;"&gt;{{otherCompanyInfo.icpNumber| translate}}&lt;/p&gt;
&lt;p&gt;技术支持:北京热云科技有限公司&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!--广告监测 流量用户--&gt;
&lt;div class="openTipWin" ng-if="trafficReminderShow" ng-controller="collectCtrl" ng-cloak style="z-index: 1001;"&gt;
&lt;div class="closeGray" ng-click="closeFlow('trackAlert')"&gt;&lt;/div&gt;
&lt;div class="tipCont" style="height: 100px;"&gt;
&lt;p&gt;{{trafficReminderTip}}&lt;/p&gt;
&lt;!--&lt;p ng-if="trackPercentRel &gt; 0.05 &amp;&amp; trackPercentRel &lt;= 0.2"&gt;
&amp;lt;!&amp;ndash;{{ '您购买的广告效果监控“' | translate}}{{flowName}}{{ '”中的' | translate}}{{trackAll}}K{{ '点击已经使用' | translate}}{{trackUsed}}K{{ ',按照您近期的使用量,预计剩余流量将在' | translate}}{{trackRemainDay}}{{ '天内用尽,请关注您的套餐流量使用情况,并联系商务续订服务。' | translate}}&amp;ndash;&amp;gt;
&lt;ANY translate="您购买的广告效果监控“X”中的Y K点击已经使用,按照您近期的使用量,预计剩余流量将在'Z'天内用尽,请关注您的套餐流量使用情况,并联系商务续订服务。" translate-values="{X: flowName,Y: trackAll,Z: trackRemainDay}" &gt;&lt;/ANY&gt;
&lt;/p&gt;
&lt;p ng-if="trackPercentRel &gt; 0 &amp;&amp; trackPercentRel &lt;= 0.05"&gt;
&amp;lt;!&amp;ndash;{{ '您购买的广告效果监控“' | translate}}{{flowName}}{{ '”中的' | translate}}{{trackAll}}K{{ '点击已经使用' | translate}}{{trackUsed}}K{{ ',为了不影响您的正常使用,请尽快联系商务续订服务。流量用尽后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。' | translate}}&amp;ndash;&amp;gt;
&lt;ANY translate="您购买的广告效果监控“X”中的Y K点击已经使用,为了不影响您的正常使用,请尽快联系商务续订服务。流量用尽后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。" translate-values="{X: flowName,Y: trackAll}" &gt;&lt;/ANY&gt;
&lt;/p&gt;
&lt;p ng-if="trackPercentRel &lt;= 0"&gt;
&lt;span ng-hide="behaviorAuth &amp;&amp; trackPercentRel &lt;= 0 &amp;&amp; ioPercentRel &lt;= -0.05"&gt;
&amp;lt;!&amp;ndash;{{ '您购买的广告效果监控“' | translate}}{{flowName}}{{ '”中的' | translate}}{{trackAll}}K{{ '点击已经用完,为了不影响您的正常使用,请尽快联系商务续订服务。流量用尽后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。' | translate}}&amp;ndash;&amp;gt;
&lt;ANY translate="您购买的广告效果监控“X”中的Y K点击已经用完,为了不影响您的正常使用,请尽快联系商务续订服务。流量用尽后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。" translate-values="{X: flowName,Y: trackAll}" &gt;&lt;/ANY&gt;
&lt;/span&gt;
&lt;span ng-show="behaviorAuth &amp;&amp; trackPercentRel &lt;= 0 &amp;&amp; ioPercentRel &lt;= -0.05"&gt;{{ '您购买的“' | translate}}{{flowName}}{{ '”已经用完,账号将自动退出,为了不影响您的正常使用,请尽快联系商务续订服务。流量用尽后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。' | translate}}&lt;br&gt;&amp;nbsp;&lt;/span&gt;
&lt;/p&gt;--&gt;
&lt;/div&gt;
&lt;div class="openBtnGroup clearfix"&gt;
&lt;div class="btn8" ng-click="closeFlow('trackAlert')" style="margin-left: 65px;"&gt;
{{ '我知道了' | translate}}
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!--广告监测 流量用户到期--&gt;
&lt;div class="openTipWin" ng-if="trackDateAlert &amp;&amp; pastLong &lt;= 30 &amp;&amp; !flowRestrict" ng-controller="collectCtrl" ng-cloak style="z-index: 1000;"&gt;
&lt;div class="closeGray" ng-click="closeFlow('trackDateAlert')"&gt;&lt;/div&gt;
&lt;div class="tipCont" style="height: 100px;"&gt;
&lt;p ng-if="pastLong &gt; 0 &amp;&amp; pastLong &lt;= 30"&gt;{{ '您购买的广告效果监控“' | translate}}{{flowName}}{{ '”将在' | translate}}&lt;span ng-if="pastLong!= 30"&gt;{{pastLong}}{{ '天' | translate}}&lt;/span&gt;&lt;span ng-if="pastLong== 30"&gt;{{ '一个月' | translate}}&lt;/span&gt;{{ '后(' | translate}}{{userPastDate}}{{ ')到期,为了不影响您的正常使用,请尽快联系商务续订服务。服务到期后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。'
| translate}}&lt;/p&gt;
&lt;p ng-if="pastLong ==0"&gt;{{ '您购买的广告效果监控“' | translate}}{{flowName}}{{ '”将在明天过期,为了不影响您的正常使用,请尽快联系商务续订服务。服务到期后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。' | translate}}&lt;/p&gt;
&lt;p ng-if="pastLong &lt; 0"&gt;{{ '您购买的广告效果监控“包年套餐' | translate}}{{flowName}}{{ '”已经到期,为了不影响您的正常使用,请尽快联系商务续订服务。服务到期后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。' | translate}}&lt;/p&gt;
&lt;/div&gt;
&lt;div class="openBtnGroup clearfix"&gt;
&lt;div class="btn8" ng-click="closeFlow('trackDateAlert')" style="margin-left: 65px;"&gt;{{ '我知道了' | translate}}&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!--渠道账号到期或流量用尽--&gt;
&lt;div class="openTipWin" ng-if="channelAlert &amp;&amp; isChannelU" ng-controller="collectCtrl" ng-cloak&gt;
&lt;div class="closeGray" style="background: none"&gt;&lt;/div&gt;
&lt;div class="tipCont"&gt;
&lt;p ng-if="trackAndIoBothExhaust &amp;&amp; !mainAccountExpire" style="text-align: center; padding-bottom: 20px;"&gt;{{ '当前产品的套餐流量已用尽,待客户续费后可以恢复查看' | translate}}&lt;/p&gt;
&lt;p ng-if="mainAccountExpire || (trackAndIoBothExhaust &amp;&amp; mainAccountExpire)" style="text-align: center; padding-bottom: 20px;"&gt;{{ '当前产品的服务已到期,待客户续费后可以恢复查看' | translate}}&lt;/p&gt;
&lt;/div&gt;
&lt;!-- &lt;div class="openBtnGroup clearfix"&gt;
&lt;div class="btn8" ng-click="closeFlow()" style="margin-left: 65px;"&gt;我知道了&lt;/div&gt;
&lt;/div&gt; --&gt;
&lt;/div&gt;
&lt;!--广告监测 流量用户--&gt;
&lt;div class="openTipWin" ng-if="(isSuper || isManage) &amp;&amp; clickshowWin" ng-cloak&gt;
&lt;div class="closeGray" ng-click="closeClickShowWin()"&gt;&lt;/div&gt;
&lt;div class="tipCont"&gt;
&lt;p&gt;{{ 'TrackingIO已经支持展示的监测,创建推广活动后会生成点击和展示监测短链,请将对应的链接添加至广告平台的监测地址栏中。如果您需要对展示做归因,请在“推广参数管理”中进行设置。' | translate}}&lt;/p&gt;
&lt;/div&gt;
&lt;div class="openBtnGroup clearfix"&gt;
&lt;div class="btn8" ng-click="closeClickShowWin()" style="margin-left: 65px;"&gt;
{{ '我知道了' | translate}}
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- &lt;notice&gt;&lt;/notice&gt; --&gt;
&lt;/div&gt;
&lt;div class="helpTipWrap winTips" id="winTC"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!--&lt;div class="alphaDiv" ng-if="trackAlert &amp;&amp; byflow &amp;&amp; trackPercentRel &lt;= 0.2 &amp;&amp; !flowRestrict" style="z-index: 997"&gt;&lt;/div&gt;--&gt;
&lt;div class="alphaDiv" ng-if="trafficReminderShow" style="z-index: 997"&gt;&lt;/div&gt;
&lt;div class="alphaDiv" ng-if="trackDateAlert &amp;&amp; pastLong &lt;= 30 &amp;&amp; !flowRestrict" style="z-index: 997"&gt;&lt;/div&gt;
&lt;div class="alphaDiv" ng-if="channelAlert &amp;&amp; isChannelU" style="z-index: 997"&gt;&lt;/div&gt;
&lt;div class="alphaDiv" ng-if="(isSuper || isManage) &amp;&amp; clickshowWin" style="z-index: 997"&gt;&lt;/div&gt;
&lt;!--首页面遮盖层--&gt;
&lt;div class="cover tac" ng-show="$root.showCover"&gt;&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;script type="text/javascript"&gt;
TrackingIO.init("e0b3000ebd3f54b791a405f68d3e520c");
&lt;/script&gt;
</pre>
......@@ -354,7 +628,7 @@ pt6_1: custom{"status":0}
<div id='div_pt7_1' class="collapse in">
<pre>
pt7_1: {"ts":1604903740858,"status":0}
pt7_1: {"ts":1604903823750,"status":0}
</pre>
......
......@@ -21,7 +21,7 @@ class clickTestCase(unittest.TestCase):
def testclick(self):
p = requests.get(url=click_url, params=params_click, timeout=30, verify=False)
# self.assertEqual(p.status_code, 300, msg='接口异常,请检查')
print('click'+p.text)
print(p.text)
# print(p)
# time.sleep(7)
# try:
......
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