qingjie 3 周之前
父节点
当前提交
422d1f8f80
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 3
      webapi/webapi/HttpSocket.cpp
  2. 1 0
      webapi/webapi/funall.h

+ 2 - 3
webapi/webapi/HttpSocket.cpp

@@ -3449,7 +3449,7 @@ void HttpSocket::reelusertrans(std::string struseracc, __int32 ikindid, std::int
 		doc.SetObject();
 		rapidjson::Document::AllocatorType& allocator = doc.GetAllocator();
 
-		std::string strscore = funclib::getdouble(iscore);
+		std::string strscore = getdouble(iscore);
 		std::string strtransid = funclib::getonlytoken(1, m_ucurid);
 
 		doc.AddMember("casino", rapidjson::Value("luckybet777", allocator), allocator);
@@ -3561,8 +3561,7 @@ void HttpSocket::getreelgameurl(std::string struseracc, __int32 ikindid, std::fu
 				auto& allocator = docdata.GetAllocator();
 				docdata.AddMember("ret", -1, allocator);
 				docdata.AddMember("info", rapidjson::Value("ok", allocator), allocator);
-				//dofun(funclib::doctojson(docdata), 200);
-				dofun(strdata, 200);
+				dofun(funclib::doctojson(docdata), 200);
 			}
 		}
 		else

+ 1 - 0
webapi/webapi/funall.h

@@ -205,6 +205,7 @@ inline std::int64_t stringToint64_t(const std::string& str, std::int32_t& iret)
 	return result;
 }
 
+// ÕûÊýËõС100±¶
 inline std::string getdouble(__int64 itemp)
 {
 	__int64 itempmax = itemp / 100;