@@ -0,0 +1,15 @@
|
||||
package currencymod
|
||||
|
||||
import (
|
||||
"91porn-server/common/db"
|
||||
"91porn-server/models"
|
||||
)
|
||||
|
||||
const currencyTable = models.Currency
|
||||
|
||||
var currencyDB *db.MongoDB
|
||||
|
||||
func Init() {
|
||||
currencyDB = db.Init(currencyTable)
|
||||
currencyIndex()
|
||||
}
|
||||
Reference in New Issue
Block a user