|
@@ -1,6 +1,9 @@
|
|
import json
|
|
import json
|
|
import requests
|
|
import requests
|
|
from hytest.common import *
|
|
from hytest.common import *
|
|
|
|
+from pandas.io.formats.style import properties_args
|
|
|
|
+from sympy.physics.vector.printing import params
|
|
|
|
+
|
|
from cfg import cfg
|
|
from cfg import cfg
|
|
from bs4 import BeautifulSoup
|
|
from bs4 import BeautifulSoup
|
|
from requests.packages import urllib3
|
|
from requests.packages import urllib3
|
|
@@ -1513,6 +1516,36 @@ class APIMgr():
|
|
}
|
|
}
|
|
response =self.s.post(f"{cfg.target_host}/entnicheNew/portrait/subVipPortrait/usage",headers = headers ,params =params)
|
|
response =self.s.post(f"{cfg.target_host}/entnicheNew/portrait/subVipPortrait/usage",headers = headers ,params =params)
|
|
return response
|
|
return response
|
|
|
|
+ #项目关注详情
|
|
|
|
+ def bigmember_project_detail(self):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ responses = self.s.post(f"{cfg.target_host}/bigmember/follow/project/detail?sid=ABCY1xdczxYKyk4GXt4cE8JIzAvFj1jcXNlPB4nKzoedFFzcF5UCmI=", headers=headers)
|
|
|
|
+ return responses
|
|
|
|
+ #项目关注列表
|
|
|
|
+ def bigmember_project_list(self):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ responses = self.s.post(f"{cfg.target_host}/bigmember/follow/project/list?pageNum=0&pageSize=500",headers=headers)
|
|
|
|
+ return responses
|
|
|
|
+ #项目关注地区获取
|
|
|
|
+ def bigmember_project_screenArea(self):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ responses = self.s.get(f"{cfg.target_host}/bigmember/follow/project/screenArea",headers=headers)
|
|
|
|
+ return responses
|
|
|
|
+ #添加部门
|
|
|
|
+ def entbase_addDepartment(self):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ responses = self.s.post(f"{cfg.target_host}/entbase/department/add?name=李智昆&pid=61792",headers=headers)
|
|
|
|
+ return responses
|
|
|
|
+ #删除部门
|
|
|
|
+ def entbase_deleteDepartment(self,department_id):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ responses = self.s.post(f"{cfg.target_host}/entbase/department/delete?id={department_id}",headers=headers)
|
|
|
|
+ return responses
|
|
|
|
+ #行为统计
|
|
|
|
+ def entbase_behavior_show(self):
|
|
|
|
+ headers = GSTORE['headers']
|
|
|
|
+ responses = self.s.post(f"{cfg.target_host}/entbase/behavior/show?departmentId=20365&page=1&pagesize=10&startTime=1738395151&endTime=1741017599",headers=headers)
|
|
|
|
+ return responses
|
|
#微信端获取打赏标语
|
|
#微信端获取打赏标语
|
|
def reward_text(self):
|
|
def reward_text(self):
|
|
headers = GSTORE['headers']
|
|
headers = GSTORE['headers']
|