Browse Source

update

order_statistics
dengbiao 7 months ago
parent
commit
a5219d866f
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      app/lib/flexible_employment/pupiao.go

+ 2
- 3
app/lib/flexible_employment/pupiao.go View File

@@ -1,7 +1,6 @@
package flexible_employment

import (
"applet/app/cfg"
"bytes"
"crypto/md5"
"encoding/hex"
@@ -23,7 +22,7 @@ type PuPiao struct {
AppSecret string
}

const urlForPrd = "https://admin.linglong.net.cn"
const urlForPrd = "http://admin.linglong.net.cn"
const urlForDev = "http://api.testlg.cn"

func NewPuPiao(appId, appSecret string) *PuPiao {
@@ -77,7 +76,7 @@ func (gm *PuPiao) Curl(uri string, params map[string]interface{}) (result map[st

// 构造请求
var url string
if cfg.Prd {
if true {
url = urlForPrd + uri
} else {
url = urlForDev + uri


Loading…
Cancel
Save