def getTenderDetail(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_tender_detail/' % LOCALHOST info = {} info['tenderID'] = '1b0335ca-7132-4771-8df4-e392a06015d2' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def getUserInfoDetail(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_user_info_detail/' % LOCALHOST info = {} info['tokenID'] = '2017-03-09093919b788c302127d8e2c04ab50c2721cc5bb' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def deleteFavorite(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/delete_favorite/' % LOCALHOST info = {} info['favoriteID'] = '2017-03-09094054db050e2472b9b0f9c37cb63f57e6b398' info['tokenID'] = '2017-03-09093919b788c302127d8e2c04ab50c2721cc5bb' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def delete_bid_background(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/delete_bid_background/' % LOCALHOST info = {} info['tokenID'] = YZTOKENID info['biddingID'] = '2017-03-09090748b3690e054504d3adb05fe7bf81753459' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_company_detail_background(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_company_detail_background/' % LOCALHOST info = {} info['tokenID'] = YZTOKENID info['companyID'] = '2017-03-10145520d255ca48668fd6efa22911543af0df92' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_user_info_detail_background(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_user_info_detail_background/' % LOCALHOST info = {} info['tokenID'] = YZTOKENID info['userID'] = '2016-12-14124727f7d8e1b0af5314e6f1ef43b773f28a73' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_grade_3_list_background(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_grade_3_list_background/' % LOCALHOST info = {} info['tokenID'] = YZTOKENID info['gradeID'] = '2017-03-10150041cee6bd9455c5220fe4522990fb794012' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_company_certificate_list(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_company_certificate_list/' % LOCALHOST info = {} info['tokenID'] = '2017-04-13155228ba95dd5fd2d8665f3274fbd9dcf538b6' info['companyID'] = '2017-04-20180515136fb45f0afe078fa429b7fe03799461' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def delete_tender_background(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/delete_tender_background/' % LOCALHOST info = {} info['tokenID'] = YZTOKENID info['tenderID'] = '1b0335ca-7132-4771-8df4-e392a06015d2' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def administrator_login_background(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/administrator_login_background/' % LOCALHOST info = {} info['adminName'] = '15951606335' info['password'] = '******' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_company_list(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_company_list/' % LOCALHOST info = {} info['startIndex'] = 0 info['pageCount'] = 10 params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_project_manager_info_background(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_project_manager_info_background/' % LOCALHOST info = {} info['tokenID'] = YZTOKENID info['managerID'] = '2017-03-1818024883175b2ad7e73eb42e980b699e64802a' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def delete_pushed_tender_by_operator(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/delete_pushed_tender_by_operator/' % LOCALHOST info = {} info['tokenID'] = '2017-04-13153628c6a0f09a06d78462fce33ea791a9effc' info['pushedID'] = '2017-04-131536114dc06f390d62bad133d45f82c1eb0d30' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_grade_4_list_background(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_grade_4_list_background/' % LOCALHOST info = {} info['tokenID'] = YZTOKENID info['gradeID'] = '2017-03-10150041ce0944d08ddafa5faa221df5428104eb' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def create_pushed_tender_by_boss(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/create_pushed_tender_by_boss/' % LOCALHOST info = {} info['tokenID'] = '2017-04-13155228ba95dd5fd2d8665f3274fbd9dcf538b6' info['tenderID'] = '2017-04-11163821ac645cd78c34f7fe4b42c30f2a8e91ac' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def create_pushed_tender_by_operator(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/create_pushed_tender_by_operator/' % LOCALHOST info = {} info['tokenID'] = '2016-12-171435141c5f22cb8420c728648529041d6b7427' info['tenderID'] = '2017-03-231554222453565aec199fdfe7e80c10d51f37f2' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_grade_2_list_background(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_grade_2_list_background/' % LOCALHOST info = {} info['tokenID'] = YZTOKENID info['gradeID'] = '2017-03-101500404bad30da3e3ad7663281341fdd5ad0ea' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def logIn(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/login/' % LOCALHOST info = {} info['tel'] = '15951606335' info['password'] = '******' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_tender_done_detail(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_tender_done_detail/' % LOCALHOST info = {} info['tenderID'] = '2017-03-2715392891b4d932fe879d6f28337e0056054488' info['tokenID'] = '2017-03-290925266599dde9d20f818b7b7c77ddece10adf' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_user_info_list_by_boss(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_user_info_list_by_boss/' % LOCALHOST info = {} info['tokenID'] = '2017-03-290925266599dde9d20f818b7b7c77ddece10adf' info['startIndex'] = 0 info['pageCount'] = 10 params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def operate_pushed_tender_info(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/operate_pushed_tender_info/' % LOCALHOST info = {} info['tokenID'] = '2017-03-251443070e1839557d4b287869e57ead5e92edd9' info['state'] = 1 info['pushedID'] = '2017-03-251319040d9e70af98fff8d9159c49d7c0dbe01d' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_pushed_list_by_operator(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_pushed_list_by_operator/' % LOCALHOST info = {} info['tokenID'] = '2016-12-171435141c5f22cb8420c728648529041d6b7427' info['startIndex'] = 0 info['pageCount'] = 10 params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def createFavorite(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/create_favorite/' % LOCALHOST info = {} info['tenderID'] = '1b0335ca-7132-4771-8df4-e392a06015d2' info['tag'] = 'tender' info['tokenID'] = '2017-03-09093919b788c302127d8e2c04ab50c2721cc5bb' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_user_list_background(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_user_list_background/' % LOCALHOST info = {} info['startIndex'] = 0 info['pageCount'] = 10 info['tokenID'] = YZTOKENID params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_company_img_background(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_company_img_background/' % LOCALHOST info = {} info['tokenID'] = YZTOKENID info['companyID'] = '2017-03-10162147bbd4e62a521b35e887a75b310b6c87b8' info['tag'] = 4 params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_resp_pushed_list_by_boss(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_resp_pushed_list_by_boss/' % LOCALHOST info = {} info['tokenID'] = '2017-03-251443070e1839557d4b287869e57ead5e92edd9' info['userType'] = 2 info['startIndex'] = 0 info['pageCount'] = 10 params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_bidding_detail_text(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_bidding_detail_text/' % LOCALHOST info = {} # info['tenderID'] = '2017-04-18145202b84ff4d8d78e8a3a6d5a5dc68cfc4ee3' info['tenderID'] = "2017-04-1317091781a8d10c7cfa8168ad19b03d2ae88c8e" info['tokenID'] = '' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) # print result print json.loads(result)['data']['detail']
def create_admin_manager(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/create_admin_manager/' % LOCALHOST info = {} info['tel'] = '15951606335' info['adminPW'] = '123456' info['code'] = '1234' info['adminName'] = '一曲广陵散' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result
def get_tender_detail_text(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/get_tender_detail_text/' % LOCALHOST info = {} info['tenderID'] = '2017-04-20112040d0e5e6eada4086ca7e0d3712944b8d51' info['tokenID'] = '' params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) # print result detail = json.loads(result)['data']['detail'] print detail
def create_user_info_by_boss(): opener = poster.streaminghttp.register_openers() upload_url = 'http://%s:5007/create_user_info_by_boss/' % LOCALHOST info = {} info['tokenID'] = '2017-03-290925266599dde9d20f818b7b7c77ddece10adf' info['tel'] = '12345678910' info['userName'] = '******' info['userType'] = 4 params = {'data': json.dumps(info)} resultManager = ResultManager() result = resultManager.getResult(params, upload_url) print result