my refer links

This commit is contained in:
CHIEFSOFT\ameye
2024-12-02 09:26:49 -05:00
parent fd7bb073b5
commit 185d61102e
5 changed files with 9 additions and 2 deletions
+2 -1
View File
@@ -27,9 +27,10 @@ class WrenchUser extends BaseController
}
public function UsersRefLink(){
//const WRENCHBOARD_MYREFLINK = 11310;
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$in["action"] = WRENCHBOARD_MYFILES_LIST;
$in["action"] = WRENCHBOARD_MYREFLINK;
$out=[];
$in["refer_link"] = $this->user_server_name."/".substr($out["uid"], 0, 8).str_pad($out["member_id"], 4, "0", STR_PAD_LEFT);