mirror of https://github.com/allinssl/allinssl
修改初始化
parent
b65c09d84a
commit
282224df28
|
@ -79,7 +79,7 @@ func RequestBt(data *url.Values, method, providerID, requestUrl string) (map[str
|
|||
var res map[string]interface{}
|
||||
err = json.Unmarshal(body, &res)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("返回值解析失败: %v", err)
|
||||
return nil, fmt.Errorf("返回值解析失败: %v,%s", err, string(body))
|
||||
}
|
||||
|
||||
if res["status"] != nil && !res["status"].(bool) {
|
||||
|
|
|
@ -107,7 +107,6 @@ func deploy(params map[string]any) (any, error) {
|
|||
case string:
|
||||
skip, _ = strconv.Atoi(v)
|
||||
}
|
||||
fmt.Println("xxxxxxxxxxxxxxxx", skip)
|
||||
if skip == 1 {
|
||||
if len(deployData) > 0 {
|
||||
beSha256, ok := deployData[0]["cert_hash"].(string)
|
||||
|
|
|
@ -41,6 +41,8 @@ func init() {
|
|||
defer db.Close()
|
||||
// 创建表
|
||||
_, err = db.Exec(`
|
||||
PRAGMA journal_mode=WAL;
|
||||
|
||||
create table IF NOT EXISTS _accounts
|
||||
(
|
||||
id integer not null
|
||||
|
|
Loading…
Reference in New Issue