Browse Source

Merge branch 'master' of http://git.choozmo.com:3000/choozmo/ArkCard-Linebot into master

jeter20131220 3 years ago
parent
commit
092d0e674d

+ 1 - 1
.gitignore

@@ -1,2 +1,2 @@
 .DS_Store
-qrcode
+

BIN
__pycache__/main.cpython-38.pyc


BIN
__pycache__/models.cpython-38.pyc


+ 1 - 1
main.py

@@ -175,7 +175,7 @@ def receive(userid):
         return "ERROR: User Not Found"
     else:
         result = table.find_one(userid=userid)
-        return {"userid": result['userid'], "url": "/qrcode/" + userid +".png", "useraddress": result['useraddress']}
+        return {"userid": result['userid'], "base": result['base'], "useraddress": result['useraddress']}
 
 # send handler
 @app.post("/send")

BIN
qrcode/U09a0698f2a5d41bccbbd03ca988a1d15.png


BIN
qrcode/U171a225ef8a06a3491f1d94310b7b265.png


BIN
qrcode/U1bd102319717680d145d74fe74af38f4.png


BIN
qrcode/Ud3ce6bb00d5dc16f18860566f5aa6929.png