isValidPayType checks if the payment type is valid
(payType int)
| 428 | |
| 429 | // isValidPayType checks if the payment type is valid |
| 430 | func isValidPayType(payType int) bool { |
| 431 | return payType >= model.PayTypeWechat && payType <= model.PayTypeAlipay |
| 432 | } |
| 433 | |
| 434 | // processWechatConfig processes and validates WeChat payment configuration |
| 435 | func processWechatConfig(payConfig string) (string, error) { |
no outgoing calls
no test coverage detected