Garden note

Shared Business Rules for Web and Mini Program

A note on how JINGYU divides photo and check-in workflows between Java services and two clients.

Translated edition. Read the original

Reading settings
Sign in to save

The JINGYU website and WeChat Mini Program use the same Java business API. Publishing a photo involves the user’s choice to share, permissions, and moderation. Private check-ins follow their own visibility rules. Putting those decisions in the service lets each interface present the same result in a way that suits it.

Make the result part of the API contract

Both clients can display “Submitted,” but the word can cover several states. The caller needs to know whether the server received the submission, whether it is under review, or whether it is public. With explicit results, the website can update its list and the Mini Program can return to a detail page, with each describing the same record accurately.

A retry after network loss is another useful test case. If a success response never arrives, the user might submit again. Check whether a retry can recover the saved check-in, show the result the service persisted, and count the same collection milestone once.

The 3D campus scene illustrates a related division of labor. The service supplies shared data, and the browser presents it for the current view.

Backlinks

How a Campus Map Becomes a 3D Scene

The JINGYU campus model illustrates the different sources behind building footprints, estimated appearances, and real travel data.

Article

Now

In November 2026, Carey Journal publishes its first project articles, research notes, and interactive study.

Now

Continue reading

How a Campus Map Becomes a 3D Scene

The JINGYU campus model illustrates the different sources behind building footprints, estimated appearances, and real travel data.

Article
Search Carey Journal