12345678910111213141516171819202122232425262728293031323334 |
- <?php
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- namespace loyalsoft;
- /**
- * Description of StoreProc
- *
- * @author c'y'zhao
- */
- class StoreProc {
- /**
- * 逻辑分发
- * 所有的Proc中必须有这样一个方法
- * @param Req $req
- */
- public static function procMain($req) {
- switch ($req->cmd) {
- case CmdCode::cmd_store_put: # 6401 放入仓库
- return StoreProc::AddItemInStore();
- default:
- Err(ErrCode::cmd_err);
- }
- }
-
- public static function AddItemInStore() {
-
- }
- }
|