支付模块
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
828 B

  1. package pay
  2. import "code.fnuoos.com/go_rely_warehouse/zyos_go_pay.git/lib/icbc"
  3. //澳门工行积分
  4. func ShowIntegral(appId, privateKeyStr string, param map[string]string) (int, error) {
  5. cusCredit, err := icbc.ShowIntegral(appId, privateKeyStr, param)
  6. return cusCredit, err
  7. }
  8. func DeductIntegral(appId, privateKeyStr string, param map[string]string) error {
  9. err := icbc.DeductIntegral(appId, privateKeyStr, param)
  10. return err
  11. }
  12. //澳门工行积分短信
  13. func ShowIntegralSms(appId, privateKeyStr string, param map[string]string) (int, error) {
  14. cusCredit, err := icbc.ShowIntegral(appId, privateKeyStr, param)
  15. return cusCredit, err
  16. }
  17. //澳门工行积分短信
  18. func DeductIntegralSms(appId, privateKeyStr string, param map[string]string) error {
  19. err := icbc.DeductIntegral(appId, privateKeyStr, param)
  20. return err
  21. }