1
This commit is contained in:
@@ -412,7 +412,7 @@ func CreateUser(user *model.User, creatorName string) (err error) {
|
|||||||
}
|
}
|
||||||
//支付宝注册电话需要解密
|
//支付宝注册电话需要解密
|
||||||
if user.GetMobile() != "" && user.GetName() != "" && user.GetID2() != "" {
|
if user.GetMobile() != "" && user.GetName() != "" && user.GetID2() != "" {
|
||||||
if user.LastLoginType != "" && user.LastLoginType == alipay.AuthType {
|
if user.LastLoginType == alipay.AuthType {
|
||||||
mobile := &alipayapi.KeyMobile{}
|
mobile := &alipayapi.KeyMobile{}
|
||||||
data, _ := base64.StdEncoding.DecodeString(user.GetMobile())
|
data, _ := base64.StdEncoding.DecodeString(user.GetMobile())
|
||||||
key, _ := base64.StdEncoding.DecodeString(alipay.AuthKey)
|
key, _ := base64.StdEncoding.DecodeString(alipay.AuthKey)
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ package dao
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.rosy.net.cn/jx-callback/business/partner"
|
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
@@ -1181,7 +1180,7 @@ func GetStoreAcctExpendLastCreateWayBillFee(db *DaoDB, vendorOrderID string) (ex
|
|||||||
AND a.type = ?
|
AND a.type = ?
|
||||||
`
|
`
|
||||||
sqlParams := []interface{}{
|
sqlParams := []interface{}{
|
||||||
partner.StoreAcctTypeExpendCreateWaybillEx,
|
20, // partner.StoreAcctTypeExpendCreateWaybillEx 零食运费
|
||||||
}
|
}
|
||||||
if vendorOrderID != "" {
|
if vendorOrderID != "" {
|
||||||
sql += " AND a.vendor_order_id = ?"
|
sql += " AND a.vendor_order_id = ?"
|
||||||
|
|||||||
Reference in New Issue
Block a user