jcloud/jcloud/api/payment.py
2025-04-12 17:39:38 +08:00

15 lines
273 B
Python

# -*- coding: utf-8 -*-
# Copyright (c) 2019, JINGROW
# For license information, please see license.txt
import jingrow
@jingrow.whitelist()
def all():
payments = jingrow.get_all(
"Payment", fields=["name"], filters={"user": jingrow.session.user}
)
return payments