This website works better with JavaScript.
Home
Explore
Register
Sign In
miteruzo
/
goatoh_training_android
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
ユーザのフェッチ
main
miteruzo
1 year ago
parent
9be74a872a
commit
fec7982904
1 changed files
with
16 additions
and
16 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+16
-16
modules/user.mod.hsp
+ 16
- 16
modules/user.mod.hsp
View File
@@ -1,32 +1,32 @@
#module \
User
#define URL (CONFIG_SERVER_URL + "/create_user.php")
#defcfunc local \
New
id.insNum = 0
pass.insNum = ""
insNum++
Return insNum - 1
#define CREATE_URL (CONFIG_SERVER_URL + "/create_user.php")
#define FETCH_URL (CONFIG_SERVER_URL + "/fetch_user.php")
#deffunc local \
Create \
int p_insId,\
local l_data
HTTPLoad URL
HTTPLoad CREATE_URL
HTTPInfo l_data
id
.p_insId
= 0
pass
.p_insId
= ""
id = 0
pass = ""
Return
#deffunc local \
Get \
int p_insId
Fetch \
int p_id,\
local l_data
id = userId@Setting
pass = userPasscode@Setting
HTTPLoad CREATE_URL
HTTPInfo l_data
pass = ""
Return
#global
Write
Preview
Loading…
Cancel
Save