---
# System prepended metadata

title: MongoDB功能指南
tags: [RD, CloudMachine, JL]

---

---
title: 'MongoDB功能指南'
disqus: 'JL_CloudMachine'
---

# 使用說明
[TOC]

## 登入
URL:
```mongodb://root:yile.net@192.168.138.201:27017/admin?maxPoolSize=300&authSource=admin```

![](https://hackmd.io/_uploads/Sy5gLPHka.png)


## Recovery 狀態查詢
1. ![](https://hackmd.io/_uploads/B1gU8vryp.png)
2. ![](https://hackmd.io/_uploads/rJBdIwHka.png)
3. 輸入 =={_id:"```memberID```#```mechineID```"}==
![](https://hackmd.io/_uploads/rkUeKDBy6.png)

## Recovery 狀態更改
遊戲卡Recovery時更改status
切回==step.GameIdle==
![](https://hackmd.io/_uploads/HJxBFvr1a.png)

## 遊戲歷史紀錄查詢
1. 在Unity 執行遊戲SPIN後,找```"h5.spinBetResponse```
2. 複製```gameSeq```
![](https://hackmd.io/_uploads/rkyJRvByT.png)
3. 到MongoDB 輸入 =={_id: "```gameSeq```"}==
![](https://hackmd.io/_uploads/ByUHW_HJT.png)
4. spinResult 為詳細歷史紀錄

###### tags: `CloudMachine` `JL` `RD`