智莺生活mysql模型库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

repositories_test.go 414 B

6 月之前
6 月之前
123456789101112131415161718
  1. package test
  2. import (
  3. "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/implement"
  4. "fmt"
  5. "testing"
  6. )
  7. func TestImplementServer_GetHappyOrchardRewardExchangeRecords(t *testing.T) {
  8. Init()
  9. dao := implement.NewHappyOrchardRewardExchangeRecordsDb(Db)
  10. record, err := dao.GetHappyOrchardRewardExchangeRecords(1)
  11. if err != nil {
  12. fmt.Println("error:", err.Error())
  13. return
  14. }
  15. fmt.Printf("%+v\n", record)
  16. }