rewrite apply-alipay