package main

import (
    "encoding/json"
)

type Repay struct {
    Code  uint64 `json:"code"`
    Message string `json:"message"`
}

var msg []byte

func main() []byte {
    Repays := &Repay{
      Code:  0,
      Message: "成功",
    }

    msg, _ = json.Marshal(Repays)
    return msg       
}

 

相关文章:

  • 2021-09-10
  • 2022-02-12
  • 2021-12-09
  • 2021-07-25
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
猜你喜欢
  • 2021-11-14
  • 2022-02-17
  • 2022-12-23
  • 2022-01-17
  • 2021-07-22
  • 2021-05-04
相关资源
相似解决方案