...
|
...
|
@@ -8,6 +8,7 @@ import ( |
|
|
"time"
|
|
|
|
|
|
"github.com/dgrijalva/jwt-go"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/constant"
|
|
|
)
|
|
|
|
|
|
type FieldName struct {
|
...
|
...
|
@@ -31,9 +32,9 @@ type Client struct { |
|
|
|
|
|
func NewClient() *Client {
|
|
|
return &Client{
|
|
|
Host: "http://character-library-metadata-bastion-test.fjmaimaimai.com",
|
|
|
AppSecret: "3Oo4dG64X0",
|
|
|
AppKey: "GnAmG4jybB",
|
|
|
Host: constant.PUSH_DATA_HOST,
|
|
|
AppSecret: constant.PUSH_DATA_APPSECRET,
|
|
|
AppKey: constant.PUSH_DATA_APPKEY,
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -94,6 +95,7 @@ type ReqSearchTable struct { |
|
|
// SearchTable 查询应用数据表
|
|
|
func (c *Client) SearchTable(name string) {
|
|
|
apiUrl := `/api/app-table-file/list`
|
|
|
//TODO
|
|
|
_ = apiUrl
|
|
|
}
|
|
|
|
...
|
...
|
@@ -106,5 +108,6 @@ type ReqCreateTable struct { |
|
|
// CreateTable 创建应用表
|
|
|
func (c *Client) CreateTable() {
|
|
|
apiUrl := `/api/app-table-file/create`
|
|
|
//TODO
|
|
|
_ = apiUrl
|
|
|
} |
...
|
...
|
|