1
This commit is contained in:
@@ -70,7 +70,7 @@ func CreateOrder(ctx *jxcontext.Context, type1, orderType int, way string, price
|
||||
Address: address,
|
||||
DistrictCode: dCode,
|
||||
CityCode: cCode,
|
||||
PayMethod: 3,
|
||||
PayMethod: 4,
|
||||
}
|
||||
dao.WrapAddIDCULEntity(order, ctx.GetUserName())
|
||||
if err = dao.CreateEntityTx(txDB, order); err != nil {
|
||||
|
||||
@@ -177,8 +177,10 @@ func signParam(signType string, params map[string]interface{}) (sig string) {
|
||||
|
||||
func (p *PayHandler) CreateRefund() (err error) {
|
||||
switch p.PayType {
|
||||
case model.PayTypeTL:
|
||||
case model.PayTypeWX:
|
||||
case model.PayTypeTL: // 收费贵,不适用
|
||||
case model.PayTypeAliPay: // 支付宝支付
|
||||
|
||||
case model.PayTypeWX: // 需要保持账号每天有交易流水,不适用
|
||||
//企业付款(提现)
|
||||
if p.VendorPayType == model.VendorPayTypeCompanyPay {
|
||||
param := &wxpayapi.TransfersParam{
|
||||
|
||||
Reference in New Issue
Block a user