Commit fc87edf5 by 黄静

hj

parent 20f0304a
......@@ -47,6 +47,7 @@ def strQ2B(ustring):
return rstring
def moneyTest(mycompanyname):
print(mycompanyname,"=======moneyTest函数mycompanynamemycompanyname")
result={}
result["data"]=[]
result["total"]=0
......@@ -493,10 +494,11 @@ def moneyAPI(server):
def APImoney():
try:
mycompanyname = request.get_json().get("mycompanyname") # 得到问题
print(mycompanyname,"获取公司名称")
r_1 = moneyTest(strQ2B(mycompanyname))
if r_1:
print(r_1,"r_1r_1")
return r_1
else:
return json.dumps({"status": -1, "msg":"失败","data": 0}, ensure_ascii=False)
except:
......
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