Home > Back-end > Ask a questions about who use the system.
Ask a questions about who use the system.
Time:10-13
1, I don't have the service side, this program only client and database, is a number of extension, a host (database),
2, assume that A unit, A set of the system, this system also has A B unit, each unit of the system will have A unique symbol "A" "B", etc.
3, if I have a ali cloud server, I want to which unit is used to record every day in the use of this system,
I want to achieve the effect of: suppose A unit opened the system for the first time, every day then cloud server records: the 2020-01-01 A, ok, I just need to record A can, he frequently open one day, do not need to record,
To achieve this effect, I should be how to design good, is a direct connection when login cloud server writing a record, or different idea? Thank you teacher
CodePudding user response:
1, setting a record in a cloud database; 2, each client login check is recorded in the day, such as no, record when login;
What you said is in fact the "direct connection when login cloud server write a record",
CodePudding user response:
Can set the date + company name as the only index, this same unit can only be written to a record on the same day
CodePudding user response:
That if he cut off the net, when he login no network, my server could not be recorded