This commit is contained in:
2022-03-01 13:35:32 -05:00
parent 3ca0ce7600
commit c54974811c
3 changed files with 19 additions and 2 deletions
+7
View File
@@ -6,6 +6,13 @@ class Account_model extends CI_Model {
}
public function getUserWallet($member_id,$currency) {
$num = 0;
$mysql = "SELECT * FROM members_wallet WHERE member_id = $member_id AND currency='".$currency."' ";
$query = $this->db->query($mysql);
return $query->result_array();
}
public function verify_link($data) {
$q = $this
->db