123456789101112131415161718192021222324252627282930 |
- <?php
- namespace app\api\controller\v1;
- use app\api\controller\Base;
- use app\hander\HelpHander;
- use think\Db;
- class PayWages extends Base
- {
- // 编辑
- public function update(){
- model('PayWages')->edit($this->userId);
- HelpHander::success([],'操作成功');
- }
- // 详情
- public function detail(){
- $companyId = input('companyId/d',0);
- $ret = model('PayWages')->info($companyId);
- HelpHander::success($ret);
- }
- // 列表
- public function all(){
- $ret = model('PayWages')->all();
- HelpHander::success($ret);
- }
- }
|